From 5064ec05b2af9e17aa1753575bef457a284ad61d Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sun, 17 Jan 2021 20:16:00 -0600 Subject: arch: i386: add support for x86 processors Add support for 32-bit x86 processors, i.e. the 80386 and above. Signed-off-by: Danny Holman --- arch/i386/crti.s | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 arch/i386/crti.s (limited to 'arch/i386/crti.s') diff --git a/arch/i386/crti.s b/arch/i386/crti.s new file mode 100644 index 0000000..4e1e4cb --- /dev/null +++ b/arch/i386/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