* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: main.c,v 1.186 2004/04/30 20:49:39 gvg Exp $
+/* $Id: main.c,v 1.187 2004/05/29 22:10:05 hbirr Exp $
*
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/ke/main.c
KeInit2();
+#if 1
+ if (KeMemoryMapRangeCount > 0)
+ {
+ DPRINT1("MemoryMap:\n");
+ for (i = 0; i < KeMemoryMapRangeCount; i++)
+ {
+ switch(KeMemoryMap[i].Type)
+ {
+ case 1:
+ strcpy(str, "(usable)");
+ break;
+ case 2:
+ strcpy(str, "(reserved)");
+ break;
+ case 3:
+ strcpy(str, "(ACPI data)");
+ break;
+ case 4:
+ strcpy(str, "(ACPI NVS)");
+ break;
+ default:
+ sprintf(str, "type %lu", KeMemoryMap[i].Type);
+ }
+ DPRINT1("%08x - %08x %s\n", KeMemoryMap[i].BaseAddrLow, KeMemoryMap[i].BaseAddrLow + KeMemoryMap[i].LengthLow, str);
+ }
+ }
+#endif
+
KeLowerIrql(PASSIVE_LEVEL);
if (!SeInit1())