diff options
Diffstat (limited to 'dev/launch/src/CRT0.S')
| -rw-r--r-- | dev/launch/src/CRT0.S | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev/launch/src/CRT0.S b/dev/launch/src/CRT0.S new file mode 100644 index 00000000..84a293e6 --- /dev/null +++ b/dev/launch/src/CRT0.S @@ -0,0 +1,18 @@ +/* ------------------------------------------- + + Copyright (C) 2025, Amlal El Mahrouss, all rights reserved. + + ------------------------------------------- */ + + .text + +.extern nelaunch_startup_fn +.globl _NeMain + +_NeMain: + push %rbp + movq %rsp, %rbp + callq nelaunch_startup_fn + popq %rbp + + retq |
