From e2b78d20b80d89321d8d9df3ab8ade8407642dfc Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Sun, 2 Jan 2022 22:56:02 +0100 Subject: Adding code --- include/01.pocetak/boot03.s | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 include/01.pocetak/boot03.s (limited to 'include/01.pocetak/boot03.s') diff --git a/include/01.pocetak/boot03.s b/include/01.pocetak/boot03.s new file mode 100644 index 0000000..46a4e7f --- /dev/null +++ b/include/01.pocetak/boot03.s @@ -0,0 +1,11 @@ +.section .text +.global _start +.type _start, @function +_start: + mov $stack_top, %esp + call kernel_main + cli +1: hlt + jmp 1b + +.size _start, . - _start -- cgit v1.2.3