aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/boot/crti.s
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2024-09-16 14:07:41 +0000
committerFelix Morgner <felix.morgner@ost.ch>2024-09-17 08:58:55 +0200
commit8f9b9cd8aac30572b7e275bbeb1b32d2cbb8950a (patch)
tree5e215dd93c34b3d58c287b036ad2d190e0a9a772 /arch/x86_64/src/boot/crti.s
parentc16a3739649fa15178df667d610553e93db83e4c (diff)
downloadteachos-8f9b9cd8aac30572b7e275bbeb1b32d2cbb8950a.tar.xz
teachos-8f9b9cd8aac30572b7e275bbeb1b32d2cbb8950a.zip
build: migrate away from conan
Diffstat (limited to 'arch/x86_64/src/boot/crti.s')
-rw-r--r--arch/x86_64/src/boot/crti.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86_64/src/boot/crti.s b/arch/x86_64/src/boot/crti.s
new file mode 100644
index 0000000..26878fe
--- /dev/null
+++ b/arch/x86_64/src/boot/crti.s
@@ -0,0 +1,13 @@
+.code64
+
+.section .init
+.global _init
+_init:
+ push %rbp
+ movq %rsp, %rbp
+
+.section .fini
+.global _fini
+_fini:
+ push %rbp
+ movq %rsp, %rbp