X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fntoskrnl%2Fex%2Finit.c;h=2847aaf9b564a7083484b4b54e267e2b8654f264;hp=18367b0f00d2151f803b2dd52fd22040711a43c3;hb=901929a78711583e331863949bb1b20c7bb3d8b9;hpb=debac394a9251e20ce0204710cbe7da95d98477b diff --git a/reactos/ntoskrnl/ex/init.c b/reactos/ntoskrnl/ex/init.c index 18367b0f00d..2847aaf9b56 100644 --- a/reactos/ntoskrnl/ex/init.c +++ b/reactos/ntoskrnl/ex/init.c @@ -29,6 +29,7 @@ extern LIST_ENTRY KiProfileListHead; extern LIST_ENTRY KiProfileSourceListHead; extern KSPIN_LOCK KiProfileLock; BOOLEAN SetupMode = TRUE; +BOOLEAN NoGuiBoot = FALSE; VOID PspPostInitSystemProcess(VOID); @@ -497,7 +498,6 @@ ExpInitializeExecutive(VOID) UNICODE_STRING EventName; HANDLE InitDoneEventHandle; OBJECT_ATTRIBUTES ObjectAttributes; - BOOLEAN NoGuiBoot = FALSE; BOOLEAN BootLog = FALSE; ULONG MaxMem = 0; BOOLEAN ForceAcpiDisable = FALSE; @@ -532,7 +532,6 @@ ExpInitializeExecutive(VOID) /* Parse the Loaded Modules (by FreeLoader) and cache the ones we'll need */ ParseAndCacheLoadedModules(); - /* Initialize the Dispatcher, Clock and Bug Check Mechanisms. */ KeInit2(); @@ -631,7 +630,7 @@ ExpInitializeExecutive(VOID) HalInitSystem(2, (PLOADER_PARAMETER_BLOCK)&KeLoaderBlock); /* Display version number and copyright/warranty message */ - ExpDisplayNotice(); + if (NoGuiBoot) ExpDisplayNotice(); /* Call KD Providers at Phase 2 */ KdInitSystem(2, (PLOADER_PARAMETER_BLOCK)&KeLoaderBlock); @@ -727,7 +726,10 @@ ExpInitializeExecutive(VOID) KEBUGCHECKEX(SESSION5_INITIALIZATION_FAILED, Status, 0, 0, 0); } - /* Disable the Boot Logo */ + /* + * FIXME: FILIP! + * Disable the Boot Logo + */ if (!NoGuiBoot) InbvEnableBootDriver(FALSE); /* Signal the Event and close the handle */