summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/gdt/farjump.s
blob: 2885d2b3d4ce1e8a43e5c27a18266151f98f3eb4 (plain)
1
2
3
4
5
6
7
8
.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