X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fhal%2Fhalx86%2Fhalinit.c;h=d497e16e02d75d63efe77ac045dfa2c701799a6f;hp=394e008ae966c3c7c714258c8f9879c4f059f5c7;hb=9858f2daebf7ed7df9a4e15bc89b4e9c2571fec0;hpb=64e0e8247960fd3118c2d4916e101df026adf57d diff --git a/reactos/hal/halx86/halinit.c b/reactos/hal/halx86/halinit.c index 394e008ae96..d497e16e02d 100644 --- a/reactos/hal/halx86/halinit.c +++ b/reactos/hal/halx86/halinit.c @@ -1,4 +1,4 @@ -/* $Id: halinit.c,v 1.4 2003/02/26 14:14:03 ekohl Exp $ +/* $Id: halinit.c,v 1.5 2003/08/11 18:50:12 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -24,6 +24,9 @@ /* FUNCTIONS ***************************************************************/ +extern VOID +HalClearDisplay (UCHAR CharAttribute); + NTSTATUS STDCALL DriverEntry( @@ -39,6 +42,7 @@ HalInitSystem (ULONG BootPhase, { if (BootPhase == 0) { + /* Initialize display and make the screen black */ HalInitializeDisplay (LoaderBlock); #ifdef MP @@ -63,6 +67,11 @@ HalInitSystem (ULONG BootPhase, /* Enumerate the devices on the motherboard */ HalpStartEnumerator(); } + else if (BootPhase == 2) + { + /* Go to blue screen */ + HalClearDisplay (0x17); /* grey on blue */ + } return TRUE; }