aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/arch/x86_64/crti.asm
diff options
context:
space:
mode:
authorEmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com>2024-05-05 01:08:00 -0400
committerEmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com>2024-05-05 01:08:00 -0400
commit4aa74dbe2a35a45668b33d688f17b680c2232572 (patch)
tree42794e2fe2ba653ccbf772bb02dbfda07f75943e /kernel/arch/x86_64/crti.asm
parent2d59766eb330b9d15a9bcbcd7e1695809fc099c5 (diff)
improved makefile somewhat
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