From 6e52d3e6ae1d1612884d8d1533007e1d46f0c4eb Mon Sep 17 00:00:00 2001 From: Joursoir Date: Tue, 28 Sep 2021 22:54:29 +0000 Subject: x86/boot: add 32bit startup code --- arch/x86/boot/kernel_entry.s | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 arch/x86/boot/kernel_entry.s (limited to 'arch/x86/boot/kernel_entry.s') diff --git a/arch/x86/boot/kernel_entry.s b/arch/x86/boot/kernel_entry.s deleted file mode 100644 index e0fd132..0000000 --- a/arch/x86/boot/kernel_entry.s +++ /dev/null @@ -1,12 +0,0 @@ -# bootsect.s loads the kernel and transfers control to SYSSEG address. -# We cannot be sure that the main() function will be exactly at this -# address. - -# Therefore, we will use a small trick for entering the kernel correctly: -# Locate this small assembly routine at the beginning of the SYSSEG -# address => we can be sure that control will transfer to main() - -.code32 -.extern kernel_main - call kernel_main - jmp . -- cgit v1.2.3-18-g5258