diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2012-12-05 04:22:53 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2012-12-05 04:22:53 +0000 |
commit | d0604243f84872a5dd39fc735ebcdb4fbe1b6bb5 (patch) | |
tree | 21b895f2728579fa8f5eb62a1ef0f1df777fe427 /sys/boot/i386 | |
parent | 54d4ef7790ac3f2922675f0defbaf3b2f5a54d7a (diff) | |
download | FreeBSD-src-d0604243f84872a5dd39fc735ebcdb4fbe1b6bb5.zip FreeBSD-src-d0604243f84872a5dd39fc735ebcdb4fbe1b6bb5.tar.gz |
Remove dead code that clang refuses to compile.
Diffstat (limited to 'sys/boot/i386')
-rw-r--r-- | sys/boot/i386/efi/exec.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/boot/i386/efi/exec.c b/sys/boot/i386/efi/exec.c index fefbf0b..579f559 100644 --- a/sys/boot/i386/efi/exec.c +++ b/sys/boot/i386/efi/exec.c @@ -46,14 +46,4 @@ __v86int() void __exec(caddr_t addr, ...) { - /* XXX this is wrong */ - __asm __volatile("movl %cr0, %eax"); - __asm __volatile("andl $0x7fffffff, %eax"); - __asm __volatile("mov %eax, %cr0"); - __asm __volatile("xorl %eax, %eax"); - __asm __volatile("mov %eax, %cr3"); - __asm __volatile("movl %cr0, %eax"); - __asm __volatile("andl $0xfffffffe, %eax"); - __asm __volatile("movl %eax, %cr0"); - __asm __volatile("jmp %0" :: "r" (addr)); } |