mirror of
https://github.com/limine-bootloader/limine
synced 2024-11-26 10:29:54 +03:00
Move stack to 0x7c00
This commit is contained in:
parent
ef56c2960a
commit
c657e86cc8
@ -12,6 +12,7 @@ such as Long Mode, 5-level paging, and SMP (multicore), to name a few.
|
||||
### Supported boot protocols
|
||||
* Linux
|
||||
* stivale and stivale2 (Limine's native boot protocols, see STIVALE{,2}.md for details)
|
||||
* Chainloading
|
||||
|
||||
### Supported filesystems
|
||||
* ext2/3/4
|
||||
|
@ -20,7 +20,7 @@ start:
|
||||
mov ds, ax
|
||||
mov es, ax
|
||||
mov ss, ax
|
||||
mov sp, 0x4000
|
||||
mov sp, 0x7c00
|
||||
sti
|
||||
|
||||
; Some BIOSes don't pass the correct boot drive number,
|
||||
@ -57,7 +57,7 @@ start:
|
||||
; If int 13h extensions are supported, then we are definitely running on
|
||||
; a 386+. We have no idea whether the upper 16 bits of esp are cleared, so
|
||||
; make sure that is the case now.
|
||||
mov esp, 0x4000
|
||||
mov esp, 0x7c00
|
||||
|
||||
mov eax, dword [stage15_sector]
|
||||
mov bx, 0x7e00
|
||||
|
BIN
limine.bin
BIN
limine.bin
Binary file not shown.
Loading…
Reference in New Issue
Block a user