[ros-diffs] [fireball] 27272: - Change BSOD's size to 1200x900 to match OLPC. - Temporarily comment out CMPXCHG8B cpu feature support detection (Geode seems to be not recognized).

fireball at svn.reactos.org fireball at svn.reactos.org
Sun Jun 24 22:43:35 CEST 2007


Author: fireball
Date: Mon Jun 25 00:43:35 2007
New Revision: 27272

URL: http://svn.reactos.org/svn/reactos?rev=27272&view=rev
Log:
- Change BSOD's size to 1200x900 to match OLPC.
- Temporarily comment out CMPXCHG8B cpu feature support detection (Geode seems to be not recognized).

Modified:
    branches/olpc/ntoskrnl/ke/bug.c
    branches/olpc/ntoskrnl/ke/i386/kiinit.c

Modified: branches/olpc/ntoskrnl/ke/bug.c
URL: http://svn.reactos.org/svn/reactos/branches/olpc/ntoskrnl/ke/bug.c?rev=27272&r1=27271&r2=27272&view=diff
==============================================================================
--- branches/olpc/ntoskrnl/ke/bug.c (original)
+++ branches/olpc/ntoskrnl/ke/bug.c Mon Jun 25 00:43:35 2007
@@ -465,11 +465,11 @@
         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 */

Modified: branches/olpc/ntoskrnl/ke/i386/kiinit.c
URL: http://svn.reactos.org/svn/reactos/branches/olpc/ntoskrnl/ke/i386/kiinit.c?rev=27272&r1=27271&r2=27272&view=diff
==============================================================================
--- branches/olpc/ntoskrnl/ke/i386/kiinit.c (original)
+++ branches/olpc/ntoskrnl/ke/i386/kiinit.c Mon Jun 25 00:43:35 2007
@@ -381,7 +381,7 @@
     ULONG FeatureBits;
     LARGE_INTEGER PageDirectory;
     PVOID DpcStack;
-    ULONG Vendor[3];
+    //ULONG Vendor[3];
 
     /* Detect and set the CPU Type */
     KiSetProcessorType();
@@ -463,6 +463,7 @@
         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 @@
                          Vendor[1],
                          Vendor[2]);
         }
+#endif
 
         /* Set the current MP Master KPRCB to the Boot PRCB */
         Prcb->MultiThreadSetMaster = Prcb;




More information about the Ros-diffs mailing list