From: Aleksey Bragin Date: Sun, 24 Jun 2007 20:43:35 +0000 (+0000) Subject: - Change BSOD's size to 1200x900 to match OLPC. X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=bc9712eab0de9bd4d4cec5392ba1a0df61ac3238 - Change BSOD's size to 1200x900 to match OLPC. - Temporarily comment out CMPXCHG8B cpu feature support detection (Geode seems to be not recognized). svn path=/branches/olpc/; revision=27272 --- diff --git a/ntoskrnl/ke/bug.c b/ntoskrnl/ke/bug.c index 5454c50c864..9a23a266432 100644 --- a/ntoskrnl/ke/bug.c +++ b/ntoskrnl/ke/bug.c @@ -465,11 +465,11 @@ KiDisplayBlueScreen(IN ULONG MessageId, InbvResetDisplay(); /* Display blue screen */ - InbvSolidColorFill(0, 0, 639, 479, 4); + InbvSolidColorFill(0, 0, 1200-1, 900-1, 4); InbvSetTextColor(15); InbvInstallDisplayStringFilter(NULL); InbvEnableDisplayString(TRUE); - InbvSetScrollRegion(0, 0, 639, 479); + InbvSetScrollRegion(0, 0, 1200-1, 900-1); } /* Check if this is a hard error */ diff --git a/ntoskrnl/ke/i386/kiinit.c b/ntoskrnl/ke/i386/kiinit.c index 770c6aa7b63..a37e0c37875 100644 --- a/ntoskrnl/ke/i386/kiinit.c +++ b/ntoskrnl/ke/i386/kiinit.c @@ -381,7 +381,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess, ULONG FeatureBits; LARGE_INTEGER PageDirectory; PVOID DpcStack; - ULONG Vendor[3]; + //ULONG Vendor[3]; /* Detect and set the CPU Type */ KiSetProcessorType(); @@ -463,6 +463,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess, KeI386XMMIPresent = (KeFeatureBits & KF_XMMI) ? TRUE : FALSE; /* Detect 8-byte compare exchange support */ +#if 0 //FIXME: Investigate why it's reported that Geode does not support this. if (!(KeFeatureBits & KF_CMPXCHG8B)) { /* Copy the vendor string */ @@ -475,6 +476,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess, Vendor[1], Vendor[2]); } +#endif /* Set the current MP Master KPRCB to the Boot PRCB */ Prcb->MultiThreadSetMaster = Prcb;