diff options
author | Xander <xander@icth.xyz> | 2023-06-28 17:20:46 +0200 |
---|---|---|
committer | Xander <xander@icth.xyz> | 2023-06-28 17:20:46 +0200 |
commit | b83b28b21571f9b1fadd251295f5ca03d9dfedc7 (patch) | |
tree | 0de3d841a23358aedc706fdedc35fec7ff4e773a /src/arch/x86_64/linker.ld | |
parent | ebc6738ad4265db0b2b8d1b5c653d8f9597ff335 (diff) | |
download | ats-os-b83b28b21571f9b1fadd251295f5ca03d9dfedc7.tar.xz ats-os-b83b28b21571f9b1fadd251295f5ca03d9dfedc7.zip |
Booting to protected mode
Diffstat (limited to 'src/arch/x86_64/linker.ld')
-rw-r--r-- | src/arch/x86_64/linker.ld | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/arch/x86_64/linker.ld b/src/arch/x86_64/linker.ld new file mode 100644 index 0000000..5d788f1 --- /dev/null +++ b/src/arch/x86_64/linker.ld @@ -0,0 +1,16 @@ +ENTRY(start) + +SECTIONS { + . = 1M; + + .boot : + { + /* ensure that the multiboot header is at the beginning */ + *(.multiboot_header) + } + + .text : + { + *(.text) + } +} |