aboutsummaryrefslogtreecommitdiff
path: root/src/font.c
AgeCommit message (Collapse)AuthorFilesLines
2014-06-11build: Get fixed address variables from 32bit compile pass (not 16bit)Kevin O'Connor1-1/+1
Update the layoutrom.py build script so that fixed address sections can come from the 32bit compiled C code. Update the C code so that all VAR16FIXED variables instead use the new VARFSEGFIXED which is defined in 32bit mode. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2009-01-17Move variables from assembler to C code.Kevin O'Connor1-1/+1
Define macro VAR16FIXED for declaring a variable at a fixed location. Introduce new file src/misc.c, and move non int15 calls from system.c to it. Implement all fixed location variables in C code. Move IDT/GDT defs to misc.c. Remove unused gdt entry 1.
2008-12-29Add more linker protections around variables accessed from 16bit mode.Kevin O'Connor1-1/+1
Rename VAR16 to VAR16_32 -- that macro supports accesses from both 16bit and 32bit mode. Introduce a new macro VAR16 that must be present on all global variables accessed from 16bit mode.
2008-12-13Cleanup of fixed space addresses.Kevin O'Connor1-1/+1
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.
2008-02-25Initial checkin.rel-0.1.0Kevin O'Connor1-0/+139