blob: 85d8ba5522ce929795ee64140e094e4f4c4d7cb4 (
plain)
1
2
3
4
5
6
7
8
9
|
.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
|