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