diff options
Diffstat (limited to 'mubios/arch')
| -rw-r--r-- | mubios/arch/mode_switch.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mubios/arch/mode_switch.S b/mubios/arch/mode_switch.S index 17fbe72..f114870 100644 --- a/mubios/arch/mode_switch.S +++ b/mubios/arch/mode_switch.S @@ -22,6 +22,8 @@ .section .text16, "ax" + .extern post_main + .global enter_protected_mode .type enter_protected_mode, @function @@ -101,6 +103,8 @@ protected_mode_entry: mov esp, 0x00008000 + call post_main + protected_mode_halt: hlt jmp protected_mode_halt |
