btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / graphics / vesa / vga.h
blobb9f923e28875e7320b7c64516a1c89c023976046
1 /*
2 * Copyright 2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef VGA_H
6 #define VGA_H
9 /* VGA ports */
11 // misc stuff
12 #define VGA_INPUT_STATUS_0 0x3c2
13 #define VGA_INPUT_STATUS_1 0x3da
15 // sequencer registers
16 #define VGA_SEQUENCER_INDEX 0x3c4
17 #define VGA_SEQUENCER_DATA 0x3c5
19 // graphics registers
20 #define VGA_GRAPHICS_INDEX 0x3ce
21 #define VGA_GRAPHICS_DATA 0x3cf
23 // CRTC registers
24 #define VGA_CRTC_INDEX 0x3d4
25 #define VGA_CRTC_DATA 0x3d5
27 // attribute registers
28 #define VGA_ATTRIBUTE_READ 0x3c1
29 #define VGA_ATTRIBUTE_WRITE 0x3c0
31 // color registers
32 #define VGA_COLOR_STATE 0x3c7
33 #define VGA_COLOR_READ_MODE 0x3c7
34 #define VGA_COLOR_WRITE_MODE 0x3c8
35 #define VGA_COLOR_DATA 0x3c9
36 #define VGA_COLOR_MASK 0x3c6
38 #endif /* VGA_H */