Xen Test Framework
extable.h
Go to the documentation of this file.
1 
6 #ifndef XTF_X86_EXTABLE_H
7 #define XTF_X86_EXTABLE_H
8 
9 #include <arch/exinfo.h>
10 #include <arch/regs.h>
11 
12 struct extable_entry;
13 
24 bool ex_record_fault_eax(struct cpu_regs *regs, const struct extable_entry *ex);
25 
36 bool ex_record_fault_edi(struct cpu_regs *regs, const struct extable_entry *ex);
37 
43 bool ex_rdmsr_safe(struct cpu_regs *regs, const struct extable_entry *ex);
44 
50 bool ex_wrmsr_safe(struct cpu_regs *regs, const struct extable_entry *ex);
51 
52 #endif /* XTF_X86_EXTABLE_H */
53 
54 /*
55  * Local variables:
56  * mode: C
57  * c-file-style: "BSD"
58  * c-basic-offset: 4
59  * tab-width: 4
60  * indent-tabs-mode: nil
61  * End:
62  */
bool ex_record_fault_eax(struct cpu_regs *regs, const struct extable_entry *ex)
Record the current fault in %eax.
Definition: extable.c:8
An encapsulation of an x86 exception with error code.
Exception table entry.
Definition: extable.h:64
bool ex_record_fault_edi(struct cpu_regs *regs, const struct extable_entry *ex)
Record the current fault in %edi.
Definition: extable.c:16
bool ex_wrmsr_safe(struct cpu_regs *regs, const struct extable_entry *ex)
Fixup from a wrmsr fault.
Definition: extable.c:33
bool ex_rdmsr_safe(struct cpu_regs *regs, const struct extable_entry *ex)
Fixup from a rdmsr fault.
Definition: extable.c:24