diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2012-01-01 12:32:53 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2012-01-14 12:59:46 -0500 |
commit | d4398adab635f10a55717e2472ecf651b1edab3c (patch) | |
tree | 4c8ee4f0a58ef9d5d063623154470966d3c71a79 /vgasrc/stdvga.h | |
parent | 88e745e11242bbe13fa4f22093029ccf04087472 (diff) | |
download | seabios-d4398adab635f10a55717e2472ecf651b1edab3c.tar.gz |
vgabios: Use vesa style memory model flags in stdvga code.
Replace the custom flags with the flags defined in the VBE spec.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc/stdvga.h')
-rw-r--r-- | vgasrc/stdvga.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/vgasrc/stdvga.h b/vgasrc/stdvga.h index 0685584a..0a99d371 100644 --- a/vgasrc/stdvga.h +++ b/vgasrc/stdvga.h @@ -44,24 +44,6 @@ #define SEG_CTEXT 0xB800 #define SEG_MTEXT 0xB000 -/* - * Tables of default values for each mode - */ -#define TEXT 0x80 - -#define CTEXT (0x00 | TEXT) -#define MTEXT (0x01 | TEXT) -#define CGA 0x02 -#define PLANAR1 0x03 -#define PLANAR4 0x04 -#define LINEAR8 0x05 - -// for SVGA -#define LINEAR15 0x10 -#define LINEAR16 0x11 -#define LINEAR24 0x12 -#define LINEAR32 0x13 - struct vgamode_s { u8 svgamode; u8 memmodel; /* CTEXT,MTEXT,CGA,PL1,PL2,PL4,P8,P15,P16,P24,P32 */ |