aboutsummaryrefslogtreecommitdiffstats
path: root/executor/kvm.S
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-01-17 10:51:56 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-01-17 10:52:20 +0100
commit43689bcfed82ecb780bd0e54543609fe3c080623 (patch)
treeb1e2c93cd5e92c3436c8857193599eaa92cf0631 /executor/kvm.S
parent04aed72692137822b809098c55401dd3493dd0f6 (diff)
executor: remove unused kvm_asm64_vm86
-Wunused-const-variable shows it. No idea now if it should be used or not, seems to be the same as kvm_asm32_paged_vm86. So let's just remove it.
Diffstat (limited to 'executor/kvm.S')
-rw-r--r--executor/kvm.S12
1 files changed, 0 insertions, 12 deletions
diff --git a/executor/kvm.S b/executor/kvm.S
index 896c59104..1f64e304f 100644
--- a/executor/kvm.S
+++ b/executor/kvm.S
@@ -50,18 +50,6 @@ kvm_asm32_paged_vm86:
kvm_asm32_paged_vm86_end:
nop
-.global kvm_asm64_vm86, kvm_asm64_vm86_end
-kvm_asm64_vm86:
-.code32
- mov %cr0, %eax
- or $0x80000000, %eax
- mov %eax, %cr0
- mov $SEL_TSS32, %ax
- ltr %ax
- ljmp $SEL_TSS32_VM86, $0
-kvm_asm64_vm86_end:
- nop
-
.global kvm_asm16_cpl3, kvm_asm16_cpl3_end
kvm_asm16_cpl3:
.code16