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.
diff --git a/src/post.c b/src/post.c
index 31b9c2f..77c7797 100644
--- a/src/post.c
+++ b/src/post.c
@@ -54,15 +54,15 @@
// Initialize software handlers.
set_irq(0x10, entry_10);
- set_irq(0x11, entry_11);
- set_irq(0x12, entry_12);
- set_irq(0x13, entry_13);
+ set_irq(0x11, entry_11_official);
+ set_irq(0x12, entry_12_official);
+ set_irq(0x13, entry_13_official);
set_irq(0x14, entry_14);
set_irq(0x15, entry_15);
set_irq(0x16, entry_16);
set_irq(0x17, entry_17);
set_irq(0x18, entry_18);
- set_irq(0x19, entry_19);
+ set_irq(0x19, entry_19_official);
set_irq(0x1a, entry_1a);
set_irq(0x1c, entry_1c);
set_irq(0x40, entry_40);