diff options
Diffstat (limited to 'boot/entry.asm')
-rw-r--r-- | boot/entry.asm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/boot/entry.asm b/boot/entry.asm index 8f12dff..dc65b97 100644 --- a/boot/entry.asm +++ b/boot/entry.asm @@ -454,6 +454,9 @@ protected_mode: mov ax, (gdt_tss - gdt) | 0b11 ; Load TSS in ring 3 ltr ax + mov eax, drive ; Pass drive to kernel loader + push eax ; Push as third kernel parameter + mov eax, vid_info ; Pass VBE struct to kernel loader push eax ; Push as second kernel parameter |