From a4534660fecb1b571c24ad82e67bc6c2fb814cb9 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sun, 24 Jan 2021 21:10:57 -0600 Subject: x86: reorganize the i386 directory Add structure to the internals of the x86 directory. Signed-off-by: Danny Holman --- arch/i386/boot/crti.s | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 arch/i386/boot/crti.s (limited to 'arch/i386/boot/crti.s') diff --git a/arch/i386/boot/crti.s b/arch/i386/boot/crti.s new file mode 100644 index 0000000..4e1e4cb --- /dev/null +++ b/arch/i386/boot/crti.s @@ -0,0 +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 -- cgit v1.2.3