summaryrefslogtreecommitdiff
path: root/arch/i386/boot/crti.s
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2022-01-15 16:11:30 -0600
committerDanny Holman <dholman@gymli.org>2022-01-15 16:11:30 -0600
commitc83d7bdcb60859f232e0fa6994ffba01509aba2e (patch)
tree66425a7362be26d27acf12015c7b3353a0e4159c /arch/i386/boot/crti.s
parent45e882197b3c2ab97d671bad87c995dff0380661 (diff)
arch: i386: simplify IDT setup
Simplify the interrupt descriptor table setup and frame assembly. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'arch/i386/boot/crti.s')
-rw-r--r--arch/i386/boot/crti.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/boot/crti.s b/arch/i386/boot/crti.s
index 4e1e4cb..8386b77 100644
--- a/arch/i386/boot/crti.s
+++ b/arch/i386/boot/crti.s
@@ -1,15 +1,15 @@
.section .init
+
.global _init
.type _init, @function
-
_init:
pushl %ebp
movl %esp, %ebp
.section .fini
+
.global _fini
.type _fini, @function
-
_fini:
pushl %ebp
movl %esp, %ebp