Modules/VESA - Allowed #if-ing out VM8086 use
[tpg/acess2.git] / KernelLand / Modules / Display / VESA / common.h
1 /**
2  * Acess2 Kernel VBE Driver
3  * - By John Hodge (thePowersGang)
4  *
5  * common.h
6  * - Driver-internal definitions
7  */
8 #ifndef _COMMON_H_
9 #define _COMMON_H_
10
11 #include "vbe.h"
12
13 /**
14  * \name Mode Flags
15  * \{
16  */
17 #define FLAG_LFB        0x01    //!< Framebuffer is a linear framebufer
18 #define FLAG_POPULATED  0x02    //!< Mode information is populated
19 #define FLAG_VALID      0x04    //!< Mode is valid (usable)
20 #define FLAG_GRAPHICS   0x08    //!< Graphics mode
21 /**
22  * \}
23  */
24
25 // === TYPES ===
26 typedef struct sVesa_Mode
27 {
28         Uint16  code;
29         Uint16  width, height;
30         Uint16  pitch, bpp;
31         Uint16  flags;
32         Uint32  fbSize;
33         Uint32  framebuffer;
34 }       tVesa_Mode;
35 #endif

UCC git Repository :: git.ucc.asn.au