mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fix for compiling in non-debug (release) mode. (Reduces binary size from 128k to 82k currently)
svn path=/trunk/; revision=3319
This commit is contained in:
parent
70d2e3812d
commit
f5ac842ed4
2 changed files with 5 additions and 3 deletions
|
@ -55,7 +55,9 @@ BOOL MmInitializeMemoryManager(VOID)
|
||||||
U32 BiosMemoryMapEntryCount;
|
U32 BiosMemoryMapEntryCount;
|
||||||
U32 ExtendedMemorySize;
|
U32 ExtendedMemorySize;
|
||||||
U32 ConventionalMemorySize;
|
U32 ConventionalMemorySize;
|
||||||
|
#ifdef DEBUG
|
||||||
U32 Index;
|
U32 Index;
|
||||||
|
#endif
|
||||||
|
|
||||||
DbgPrint((DPRINT_MEMORY, "Initializing Memory Manager.\n"));
|
DbgPrint((DPRINT_MEMORY, "Initializing Memory Manager.\n"));
|
||||||
|
|
||||||
|
|
|
@ -520,7 +520,7 @@ LoadAndBootReactOS(PUCHAR OperatingSystemName)
|
||||||
szBootPath[strlen(szBootPath)] != '\\')
|
szBootPath[strlen(szBootPath)] != '\\')
|
||||||
strcat(szBootPath, "\\");
|
strcat(szBootPath, "\\");
|
||||||
|
|
||||||
DebugPrint(DPRINT_REACTOS,"SystemRoot: '%s'\n", szBootPath);
|
DbgPrint((DPRINT_REACTOS,"SystemRoot: '%s'\n", szBootPath));
|
||||||
|
|
||||||
UiDrawBackdrop();
|
UiDrawBackdrop();
|
||||||
UiDrawStatusText("Loading...");
|
UiDrawStatusText("Loading...");
|
||||||
|
@ -625,7 +625,7 @@ LoadAndBootReactOS(PUCHAR OperatingSystemName)
|
||||||
strcat(szFileName, value);
|
strcat(szFileName, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
DebugPrint(DPRINT_REACTOS, "SystemHive: '%s'", szFileName);
|
DbgPrint((DPRINT_REACTOS, "SystemHive: '%s'", szFileName));
|
||||||
|
|
||||||
FilePointer = OpenFile(szFileName);
|
FilePointer = OpenFile(szFileName);
|
||||||
if (FilePointer == NULL)
|
if (FilePointer == NULL)
|
||||||
|
@ -652,7 +652,7 @@ LoadAndBootReactOS(PUCHAR OperatingSystemName)
|
||||||
RegImportHive(Base, Size);
|
RegImportHive(Base, Size);
|
||||||
|
|
||||||
UiDrawProgressBarCenter(15, 100);
|
UiDrawProgressBarCenter(15, 100);
|
||||||
DebugPrint(DPRINT_REACTOS, "SystemHive loaded at 0x%x size %u", (unsigned)Base, (unsigned)Size);
|
DbgPrint((DPRINT_REACTOS, "SystemHive loaded at 0x%x size %u", (unsigned)Base, (unsigned)Size));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Retrieve hardware information and create the hardware hive
|
* Retrieve hardware information and create the hardware hive
|
||||||
|
|
Loading…
Reference in a new issue