summaryrefslogtreecommitdiff
path: root/src/font.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-12-13 18:33:05 -0500
committerKevin O'Connor <kevin@koconnor.net>2008-12-13 18:33:05 -0500
commitb4f0e8918f8676684d4bee4247a22f44ce1ae7ae (patch)
tree61626b4342f7fc06d013fb2265242797bc813c9c /src/font.c
parent15157a3c6d5a84088532cf26b631224a18c78cbb (diff)
downloadqemu-seabios-b4f0e8918f8676684d4bee4247a22f44ce1ae7ae.tar.gz
Cleanup of fixed space addresses.
The BIOS_CONFIG_TABLE must be aligned to 1 (or gcc may change it). Consistently use __aligned(x) wrapper throughout C code. Register the official fixed address handlers - even if it is only a jump to the real handler. Declare .type of data objects - it improves disassembler output. Put labels at all fixed addresses - it improves disassembler output. entry_hwirq should be calling 'cli' - use regular entry macro. int1D is a data table, not code - so don't put an iretw there.
Diffstat (limited to 'src/font.c')
-rw-r--r--src/font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/font.c b/src/font.c
index 01c73ed..17f0690 100644
--- a/src/font.c
+++ b/src/font.c
@@ -7,7 +7,7 @@
* found at ftp://ftp.simtel.net/pub/simtelnet/msdos/screen/fntcol16.zip
* This font is public domain
*/
-const u8 vgafont8[128*8] __attribute__((aligned (1))) = {
+const u8 vgafont8[128*8] __aligned(1) = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x7e, 0x81, 0xa5, 0x81, 0xbd, 0x99, 0x81, 0x7e,
0x7e, 0xff, 0xdb, 0xff, 0xc3, 0xe7, 0xff, 0x7e,