Love Nystrom (=lovenystrom=at=hotmail=dot=com=), bug #4727
[reactos.git] / reactos / drivers / base / bootvid / precomp.h
1 #include "ntddk.h"
2 #include "arc/arc.h"
3 #include "halfuncs.h"
4 #include "drivers/bootvid/bootvid.h"
5
6 /* Define if FontData has upside down characters */
7 #undef CHAR_GEN_UPSIDE_DOWN
8
9 #define BOOTCHAR_HEIGHT 13
10
11 //
12 // Command Stream Definitions
13 //
14 #define CMD_STREAM_WRITE 0x0
15 #define CMD_STREAM_WRITE_ARRAY 0x2
16 #define CMD_STREAM_USHORT 0x4
17 #define CMD_STREAM_READ 0x8
18
19 //
20 // Bitmap Header
21 //
22 typedef struct tagBITMAPINFOHEADER
23 {
24 ULONG biSize;
25 LONG biWidth;
26 LONG biHeight;
27 USHORT biPlanes;
28 USHORT biBitCount;
29 ULONG biCompression;
30 ULONG biSizeImage;
31 LONG biXPelsPerMeter;
32 LONG biYPelsPerMeter;
33 ULONG biClrUsed;
34 ULONG biClrImportant;
35 } BITMAPINFOHEADER, *PBITMAPINFOHEADER;
36
37 VOID
38 NTAPI
39 InitializePalette(
40 VOID
41 );
42
43 //
44 // Globals
45 //
46 extern USHORT AT_Initialization[];
47 extern ULONG curr_x;
48 extern ULONG curr_y;
49 extern ULONG_PTR VgaRegisterBase;
50 extern ULONG_PTR VgaBase;
51 extern UCHAR FontData[256 * BOOTCHAR_HEIGHT];