-#include "ntddk.h"\r
-#include "arc/arc.h"\r
-#include "halfuncs.h"\r
-#include "drivers/bootvid/bootvid.h"\r
-\r
-/* Define if FontData has upside down characters */\r
-#undef CHAR_GEN_UPSIDE_DOWN\r
-\r
-#define BOOTCHAR_HEIGHT 13\r
-\r
-//\r
-// Command Stream Definitions\r
-//\r
-#define CMD_STREAM_WRITE 0x0\r
-#define CMD_STREAM_WRITE_ARRAY 0x2\r
-#define CMD_STREAM_USHORT 0x4\r
-#define CMD_STREAM_READ 0x8\r
-\r
-//\r
-// Bitmap Header\r
-//\r
-typedef struct tagBITMAPINFOHEADER\r
-{\r
- ULONG biSize;\r
- LONG biWidth;\r
- LONG biHeight;\r
- USHORT biPlanes;\r
- USHORT biBitCount;\r
- ULONG biCompression;\r
- ULONG biSizeImage;\r
- LONG biXPelsPerMeter;\r
- LONG biYPelsPerMeter;\r
- ULONG biClrUsed;\r
- ULONG biClrImportant;\r
-} BITMAPINFOHEADER, *PBITMAPINFOHEADER;\r
-\r
-VOID\r
-NTAPI\r
-InitializePalette(\r
- VOID\r
-);\r
-\r
-//\r
-// Globals\r
-//\r
-extern USHORT AT_Initialization[];\r
-extern ULONG curr_x;\r
-extern ULONG curr_y;\r
-extern ULONG_PTR VgaRegisterBase;\r
-extern ULONG_PTR VgaBase;\r
-extern UCHAR FontData[256 * BOOTCHAR_HEIGHT];\r
+#include "ntddk.h"
+#include "ntifs.h"
+#include "arc/arc.h"
+#include "halfuncs.h"
+#include "drivers/bootvid/bootvid.h"
+
+/* Define if FontData has upside down characters */
+#undef CHAR_GEN_UPSIDE_DOWN
+
+#define BOOTCHAR_HEIGHT 13
+
+//
+// Command Stream Definitions
+//
+#define CMD_STREAM_WRITE 0x0
+#define CMD_STREAM_WRITE_ARRAY 0x2
+#define CMD_STREAM_USHORT 0x4
+#define CMD_STREAM_READ 0x8
+
+//
+// Bitmap Header
+//
+typedef struct tagBITMAPINFOHEADER
+{
+ ULONG biSize;
+ LONG biWidth;
+ LONG biHeight;
+ USHORT biPlanes;
+ USHORT biBitCount;
+ ULONG biCompression;
+ ULONG biSizeImage;
+ LONG biXPelsPerMeter;
+ LONG biYPelsPerMeter;
+ ULONG biClrUsed;
+ ULONG biClrImportant;
+} BITMAPINFOHEADER, *PBITMAPINFOHEADER;
+
+VOID
+NTAPI
+InitializePalette(
+ VOID
+);
+
+//
+// Globals
+//
+extern USHORT AT_Initialization[];
+extern ULONG curr_x;
+extern ULONG curr_y;
+extern ULONG_PTR VgaRegisterBase;
+extern ULONG_PTR VgaBase;
+extern UCHAR FontData[256 * BOOTCHAR_HEIGHT];