diff --git a/i386/legacy-boot/src-asm/entry.asm b/i386/legacy-boot/src-asm/entry.asm index d47d83d..97de43b 100755 --- a/i386/legacy-boot/src-asm/entry.asm +++ b/i386/legacy-boot/src-asm/entry.asm @@ -54,6 +54,12 @@ stage_2_setup_entry: bits 32 stage2_protected_entry: + push ebp + mov ebp, esp + call setup_drivers + mov esp, ebp + pop ebp + cli hlt