summaryrefslogtreecommitdiffhomepage
path: root/Private/Linker
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-28 16:26:33 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-28 16:26:33 +0100
commit06be6d65bb71152be8a28d7bb6b1028b5a588654 (patch)
treeb47625ad70e5ec6093187f9d454f4edeaffb5ed1 /Private/Linker
parentf69bd40d5d97e371451d2e9c27721422141d828f (diff)
NewKernel: Final things are getting done for the first prototype.
NewBoot: Add ARM64 to HEL. SPEC: Update it to include NewFS into it. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/Linker')
-rw-r--r--Private/Linker/AMD64.ld12
1 files changed, 8 insertions, 4 deletions
diff --git a/Private/Linker/AMD64.ld b/Private/Linker/AMD64.ld
index 695d17c4..81e87dc6 100644
--- a/Private/Linker/AMD64.ld
+++ b/Private/Linker/AMD64.ld
@@ -10,10 +10,9 @@ PHDRS {
}
SECTIONS {
- . = 0x00080000;
+ . = 1M;
.text : {
- KEEP(*(.multiboot))
*(.text .text.*)
} :text
@@ -21,7 +20,9 @@ SECTIONS {
.init : {
*(.initl)
- }
+ } :init
+
+ __SYSTEM_INIT_END = .;
. += CONSTANT(MAXPAGESIZE);
@@ -41,4 +42,7 @@ SECTIONS {
*(COMMON)
*(.bss .bss.*)
} :data
-} \ No newline at end of file
+
+ __SYSTEM_STACK_PTR = .;
+ __SYSTEM_STACK_END = . + 0x4000;
+}