From 68db123a2f37a66aea218fa48a5bab8ea6b12951 Mon Sep 17 00:00:00 2001 From: "felix.morgner@ost.ch" Date: Sat, 7 Oct 2023 10:45:45 +0200 Subject: x86_64: implement first bootable kernel --- source/boot/arch/x86_64/src/crtn.s | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 source/boot/arch/x86_64/src/crtn.s (limited to 'source/boot/arch/x86_64/src/crtn.s') diff --git a/source/boot/arch/x86_64/src/crtn.s b/source/boot/arch/x86_64/src/crtn.s new file mode 100644 index 0000000..06fb7ce --- /dev/null +++ b/source/boot/arch/x86_64/src/crtn.s @@ -0,0 +1,9 @@ +.code64 + +.section .init + popq %rbp + ret + +.section .fini + popq %rbp + ret -- cgit v1.2.3