From 4aa74dbe2a35a45668b33d688f17b680c2232572 Mon Sep 17 00:00:00 2001 From: EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> Date: Sun, 5 May 2024 01:08:00 -0400 Subject: improved makefile somewhat --- kernel/arch/x86_64/crti.asm | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 kernel/arch/x86_64/crti.asm (limited to 'kernel/arch/x86_64/crti.asm') 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 -- cgit v1.2.3-70-g09d2