aboutsummaryrefslogtreecommitdiff
path: root/source/arch/x86_64/src/boot/crtn.s
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2023-10-11 14:43:50 +0200
committerFelix Morgner <felix.morgner@ost.ch>2023-10-11 14:43:50 +0200
commit74eaee0fcc7390d4290b41a2a92ee34346e2f7c2 (patch)
tree3a38f8dbe0c6b757167bc264cb68e3da145bd069 /source/arch/x86_64/src/boot/crtn.s
parentf47bee5f51a73593d3594940663f56f2427f480b (diff)
downloadteachos-74eaee0fcc7390d4290b41a2a92ee34346e2f7c2.tar.xz
teachos-74eaee0fcc7390d4290b41a2a92ee34346e2f7c2.zip
teachos: restructure file layout
Diffstat (limited to 'source/arch/x86_64/src/boot/crtn.s')
-rw-r--r--source/arch/x86_64/src/boot/crtn.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/arch/x86_64/src/boot/crtn.s b/source/arch/x86_64/src/boot/crtn.s
new file mode 100644
index 0000000..06fb7ce
--- /dev/null
+++ b/source/arch/x86_64/src/boot/crtn.s
@@ -0,0 +1,9 @@
+.code64
+
+.section .init
+ popq %rbp
+ ret
+
+.section .fini
+ popq %rbp
+ ret