[FREELDR] FrLdrBugCheckWithMessage() is varags, it doesn't make sense to mark it...
[reactos.git] / reactos / boot / freeldr / freeldr / arch / i386 / i386bug.c
index d8d5d89..b938da2 100644 (file)
@@ -33,7 +33,8 @@ char *i386ExceptionDescriptionText[] =
     "Exception 12: MACHINE CHECK\n\n"
 };
 
-#define SCREEN_ATTR 0x1f
+#define SCREEN_ATTR 0x1F    // Bright white on blue background
+
 void
 i386PrintChar(char chr, ULONG x, ULONG y)
 {
@@ -163,7 +164,7 @@ i386PrintExceptionText(ULONG TrapIndex, PKTRAP_FRAME TrapFrame, PKSPECIAL_REGIST
               TrapFrame->SegSs, Special->Ldtr, Special->Idtr.Limit);
     InstructionPointer = (PUCHAR)TrapFrame->Rip;
 #endif
-    PrintText("\nInstructionstream: %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x \n",
+    PrintText("\nInstruction stream: %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x \n",
               InstructionPointer[0], InstructionPointer[1],
               InstructionPointer[2], InstructionPointer[3],
               InstructionPointer[4], InstructionPointer[5],
@@ -171,7 +172,6 @@ i386PrintExceptionText(ULONG TrapIndex, PKTRAP_FRAME TrapFrame, PKSPECIAL_REGIST
 }
 
 VOID
-NTAPI
 FrLdrBugCheckWithMessage(
     ULONG BugCode,
     PCHAR File,
@@ -240,4 +240,3 @@ FrLdrBugCheck(ULONG BugCode)
 {
     FrLdrBugCheckEx(BugCode, 0, 0);
 }
-