Common x86 exception table helper functions.
More...
Go to the source code of this file.
Common x86 exception table helper functions.
Definition in file extable.h.
◆ ex_record_fault_eax()
Record the current fault in %eax.
Sample usage:
asm volatile ("1: $INSN; 2:"
_ASM_EXTABLE_HANDLER(1b, 2b, P[rec])
: "=a" (fault) : "0" (0), [rec] "p" (ex_record_fault_eax));
Definition at line 8 of file extable.c.
◆ ex_record_fault_edi()
Record the current fault in %edi.
Sample usage:
asm volatile ("1: $INSN; 2:"
_ASM_EXTABLE_HANDLER(1b, 2b, P[rec])
: "=D" (fault) : "0" (0), [rec] "p" (ex_record_fault_edi));
Definition at line 16 of file extable.c.
◆ ex_rdmsr_safe()
Fixup from a rdmsr fault.
Clobber the MSR index to signify error, and zero output.
Definition at line 24 of file extable.c.
◆ ex_wrmsr_safe()
Fixup from a wrmsr fault.
Clobber the MSR index to signify error.
Definition at line 33 of file extable.c.