diff options
author | Joursoir <chat@joursoir.net> | 2022-10-04 03:48:51 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2022-10-12 23:41:04 +0300 |
commit | 4a7142dac686a70030eb513b1ff31dce38d2a9bf (patch) | |
tree | 84caed1da1284637c1949348e9e8d5fe28723cf2 | |
parent | 9571b94360e0e12b5347ccfdd0358489dd925063 (diff) | |
download | mfsos-4a7142dac686a70030eb513b1ff31dce38d2a9bf.tar.gz mfsos-4a7142dac686a70030eb513b1ff31dce38d2a9bf.tar.bz2 mfsos-4a7142dac686a70030eb513b1ff31dce38d2a9bf.zip |
x86/bootloader/linker: set the correct load address
-rw-r--r-- | arch/x86/boot/bootloader/linker.ld | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/boot/bootloader/linker.ld b/arch/x86/boot/bootloader/linker.ld index 5e8dfd6..2a08a31 100644 --- a/arch/x86/boot/bootloader/linker.ld +++ b/arch/x86/boot/bootloader/linker.ld @@ -4,7 +4,6 @@ ENTRY(_start) SECTIONS { - /* BIOS likes always to load the boot sector to the address 0x7c00, - where it is sure will not be occupied by important routines. */ - . = 0x7c00; + /* Our bootloader loads kernel at 4 KiB */ + . = 0x1000; } |