mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix Sparse warnings
git-svn-id: svn://coreboot.org/openbios/openbios-devel@296 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -4621,73 +4621,3 @@ static const unsigned char fontdata_8x16[FONTDATAMAX] = {
|
||||
0x00, /* 00000000 */
|
||||
|
||||
};
|
||||
//
|
||||
// originally from the stpc web site
|
||||
//
|
||||
const unsigned char VgaLookupTable[3 * 0x3f + 3] = {
|
||||
// Red Green Blue
|
||||
0x000, 0x000, 0x000, // 00h
|
||||
0x000, 0x000, 0x02A, // 01h
|
||||
0x000, 0x02A, 0x000, // 02h
|
||||
0x000, 0x02A, 0x02A, // 03h
|
||||
0x02A, 0x000, 0x000, // 04h
|
||||
0x02A, 0x000, 0x02A, // 05h
|
||||
0x02A, 0x02A, 0x000, // 06h
|
||||
0x02A, 0x02A, 0x02A, // 07h
|
||||
0x000, 0x000, 0x015, // 08h
|
||||
0x000, 0x000, 0x03F, // 09h
|
||||
0x000, 0x02A, 0x015, // 0Ah
|
||||
0x000, 0x02A, 0x03F, // 0Bh
|
||||
0x02A, 0x000, 0x015, // 0Ch
|
||||
0x02A, 0x000, 0x03F, // 0Dh
|
||||
0x02A, 0x02A, 0x015, // 0Eh
|
||||
0x02A, 0x02A, 0x03F, // 0Fh
|
||||
0x000, 0x015, 0x000, // 10h
|
||||
0x000, 0x015, 0x02A, // 11h
|
||||
0x000, 0x03F, 0x000, // 12h
|
||||
0x000, 0x03F, 0x02A, // 13h
|
||||
0x02A, 0x015, 0x000, // 14h
|
||||
0x02A, 0x015, 0x02A, // 15h
|
||||
0x02A, 0x03F, 0x000, // 16h
|
||||
0x02A, 0x03F, 0x02A, // 17h
|
||||
0x000, 0x015, 0x015, // 18h
|
||||
0x000, 0x015, 0x03F, // 19h
|
||||
0x000, 0x03F, 0x015, // 1Ah
|
||||
0x000, 0x03F, 0x03F, // 1Bh
|
||||
0x02A, 0x015, 0x015, // 1Ch
|
||||
0x02A, 0x015, 0x03F, // 1Dh
|
||||
0x02A, 0x03F, 0x015, // 1Eh
|
||||
0x02A, 0x03F, 0x03F, // 1Fh
|
||||
0x015, 0x000, 0x000, // 20h
|
||||
0x015, 0x000, 0x02A, // 21h
|
||||
0x015, 0x02A, 0x000, // 22h
|
||||
0x015, 0x02A, 0x02A, // 23h
|
||||
0x03F, 0x000, 0x000, // 24h
|
||||
0x03F, 0x000, 0x02A, // 25h
|
||||
0x03F, 0x02A, 0x000, // 26h
|
||||
0x03F, 0x02A, 0x02A, // 27h
|
||||
0x015, 0x000, 0x015, // 28h
|
||||
0x015, 0x000, 0x03F, // 29h
|
||||
0x015, 0x02A, 0x015, // 2Ah
|
||||
0x015, 0x02A, 0x03F, // 2Bh
|
||||
0x03F, 0x000, 0x015, // 2Ch
|
||||
0x03F, 0x000, 0x03F, // 2Dh
|
||||
0x03F, 0x02A, 0x015, // 2Eh
|
||||
0x03F, 0x02A, 0x03F, // 2Fh
|
||||
0x015, 0x015, 0x000, // 30h
|
||||
0x015, 0x015, 0x02A, // 31h
|
||||
0x015, 0x03F, 0x000, // 32h
|
||||
0x015, 0x03F, 0x02A, // 33h
|
||||
0x03F, 0x015, 0x000, // 34h
|
||||
0x03F, 0x015, 0x02A, // 35h
|
||||
0x03F, 0x03F, 0x000, // 36h
|
||||
0x03F, 0x03F, 0x02A, // 37h
|
||||
0x015, 0x015, 0x015, // 38h
|
||||
0x015, 0x015, 0x03F, // 39h
|
||||
0x015, 0x03F, 0x015, // 3Ah
|
||||
0x015, 0x03F, 0x03F, // 3Bh
|
||||
0x03F, 0x015, 0x015, // 3Ch
|
||||
0x03F, 0x015, 0x03F, // 3Dh
|
||||
0x03F, 0x03F, 0x015, // 3Eh
|
||||
0x03F, 0x03F, 0x03F, // 3Fh
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user