summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/kernel_entry.s
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-09-28 22:54:29 +0000
committerJoursoir <chat@joursoir.net>2021-09-28 22:54:29 +0000
commit6e52d3e6ae1d1612884d8d1533007e1d46f0c4eb (patch)
treeaadb2e38da1ffdcf7cf9853c9b0e3dfc5ab42c64 /arch/x86/boot/kernel_entry.s
parent894e61508a09841f9b4a8e81fdd265b2a9eef1fc (diff)
downloadmfsos-6e52d3e6ae1d1612884d8d1533007e1d46f0c4eb.tar.gz
mfsos-6e52d3e6ae1d1612884d8d1533007e1d46f0c4eb.tar.bz2
mfsos-6e52d3e6ae1d1612884d8d1533007e1d46f0c4eb.zip
x86/boot: add 32bit startup code
Diffstat (limited to 'arch/x86/boot/kernel_entry.s')
-rw-r--r--arch/x86/boot/kernel_entry.s12
1 files changed, 0 insertions, 12 deletions
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 .