Sync with trunk rev.61910 to get latest improvements and bugfixes.
[reactos.git] / drivers / base / bootvid / precomp.h
1 #include <wdm.h>
2 #include <drivers/bootvid/bootvid.h>
3
4 /* Define if FontData has upside down characters */
5 #undef CHAR_GEN_UPSIDE_DOWN
6
7 #define BOOTCHAR_HEIGHT 13
8
9 /* Command Stream Definitions */
10 #define CMD_STREAM_WRITE 0x0
11 #define CMD_STREAM_WRITE_ARRAY 0x2
12 #define CMD_STREAM_USHORT 0x4
13 #define CMD_STREAM_READ 0x8
14
15 /* Bitmap Header */
16 typedef struct tagBITMAPINFOHEADER
17 {
18 ULONG biSize;
19 LONG biWidth;
20 LONG biHeight;
21 USHORT biPlanes;
22 USHORT biBitCount;
23 ULONG biCompression;
24 ULONG biSizeImage;
25 LONG biXPelsPerMeter;
26 LONG biYPelsPerMeter;
27 ULONG biClrUsed;
28 ULONG biClrImportant;
29 } BITMAPINFOHEADER, *PBITMAPINFOHEADER;
30
31 VOID
32 NTAPI
33 InitializePalette(
34 VOID
35 );
36
37 /* Globals */
38 extern USHORT AT_Initialization[];
39 extern ULONG curr_x;
40 extern ULONG curr_y;
41 extern ULONG_PTR VgaRegisterBase;
42 extern ULONG_PTR VgaBase;
43 extern UCHAR FontData[256 * BOOTCHAR_HEIGHT];