From 03035c98b4ba3297b837e96080e78e0aac1e86db Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Mon, 31 Jan 2022 11:16:38 +0100 Subject: Promene --- include/01.pocetak/boot6.s | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/01.pocetak/boot6.s (limited to 'include/01.pocetak/boot6.s') diff --git a/include/01.pocetak/boot6.s b/include/01.pocetak/boot6.s new file mode 100644 index 0000000..bd0f1da --- /dev/null +++ b/include/01.pocetak/boot6.s @@ -0,0 +1,12 @@ +code: + movw $DATA_SEGMENT, %ax + movw %ax, %ds + movw %ax, %es + movw %ax, %fs + movw %ax, %gs + movw %ax, %ss + movl $stack_top, %esp + cli + call _init + call kernel_main + hlt -- cgit v1.2.3