4946f21302
The limit is set to match the TSS size - 1 and the base address is hardcoded to the *current* address of the TSS instance (0x3a1100). TODO: Set the base address using the 'tss' label. If the TSS descriptor format were not so utterly unusable this would be straightforward. Changes to the code that indirectly lead to a different location of the tss result in #GP since the base address will be invalid. |
||
---|---|---|
.. | ||
kernel | ||
crt0.s | ||
idt.cc | ||
isr.s | ||
mode_transition.s | ||
tss.cc |