From 912d2e3c7eb1baa71dda2c0a28aa5809eaa96f27 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 16 Jul 2022 13:33:00 +0200 Subject: amd64: barely boot into kernel code --- src/kernel/arch/i386/gdt/farjump.s | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 src/kernel/arch/i386/gdt/farjump.s (limited to 'src/kernel/arch/i386/gdt/farjump.s') diff --git a/src/kernel/arch/i386/gdt/farjump.s b/src/kernel/arch/i386/gdt/farjump.s deleted file mode 100644 index 2885d2b..0000000 --- a/src/kernel/arch/i386/gdt/farjump.s +++ /dev/null @@ -1,8 +0,0 @@ -.section .text -.global gdt_farjump -.type gdt_farjump, @function -gdt_farjump: - /* retf pops off the return address and code segment off the stack. - * it turns out that in the i386 cdecl calling convention they're in - * the correct place already. */ - retf -- cgit v1.2.3