aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_kvm_amd64.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common_kvm_amd64.h')
-rw-r--r--executor/common_kvm_amd64.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/executor/common_kvm_amd64.h b/executor/common_kvm_amd64.h
index ce778792d..3e5200137 100644
--- a/executor/common_kvm_amd64.h
+++ b/executor/common_kvm_amd64.h
@@ -252,18 +252,6 @@ struct kvm_syz_vm {
#endif
#if SYZ_EXECUTOR || __NR_syz_kvm_add_vcpu
-// See https://wiki.osdev.org/Interrupt_Descriptor_Table#Gate_Descriptor_2.
-struct idt_entry_64 {
- uint16 offset_low;
- uint16 selector;
- // Interrupt Stack Table offset in bits 0..2
- uint8 ist;
- // Gate Type, P and DPL.
- uint8 type_attr;
- uint16 offset_mid;
- uint32 offset_high;
- uint32 reserved;
-} __attribute__((packed));
// Post-processing code in pkg/csource/csource.go is very picky and won't let us directly pass
// fail() to DEFINE_GUEST_FN_TO_GPA_FN.