aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/arch/x86_64/crti.asm
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/x86_64/crti.asm')
-rw-r--r--kernel/arch/x86_64/crti.asm12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/arch/x86_64/crti.asm b/kernel/arch/x86_64/crti.asm
new file mode 100644
index 0000000..73ac499
--- /dev/null
+++ b/kernel/arch/x86_64/crti.asm
@@ -0,0 +1,12 @@
+; x86 crti.asm
+section .init
+global _init:function
+_init:
+ push rbp
+ mov rbp, rsp
+
+section .fini
+global _fini:function
+_fini:
+ push rbp
+ mov rbp, rsp \ No newline at end of file