diff options
author | Vikram Narayanan <vikram186@gmail.com> | 2012-01-25 20:40:40 +0530 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-01-27 20:07:00 +0100 |
commit | cc16cca2be1939a731157b1b62029d99be268dc8 (patch) | |
tree | 1d018c683d807fc4f472147c4d915446be90a265 /src/pc80/vga/vga.h | |
parent | 976f8cc1e29daee35a2f92f97be59a4838949c43 (diff) |
vga: removed inclusion of .c files
Add local vga.h for prototypes.
Change-Id: I5ff627c6420d4b7fd1bc9a537f406ef6d9597522
Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/588
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/pc80/vga/vga.h')
-rw-r--r-- | src/pc80/vga/vga.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/pc80/vga/vga.h b/src/pc80/vga/vga.h new file mode 100644 index 0000000000..1e6e750b89 --- /dev/null +++ b/src/pc80/vga/vga.h @@ -0,0 +1,17 @@ +#ifndef _VGA_H +#define _VGA_H + +/* + * Basic palette. + */ +struct palette { + unsigned char red; + unsigned char green; + unsigned char blue; +}; + +extern const struct palette default_vga_palette[0x100]; + +extern const unsigned char vga_font_8x16[256][16]; + +#endif /* _VGA_H */ |