Xen Test Framework
Data Fields
extable_entry Struct Reference

Exception table entry. More...

#include <extable.h>

Data Fields

unsigned long fault
 Faulting address. More...
 
unsigned long fixup
 Fixup address. More...
 
bool(* handler )(struct cpu_regs *regs, const struct extable_entry *ex)
 Optional custom handler. More...
 

Detailed Description

Exception table entry.

Definition at line 64 of file extable.h.

Field Documentation

◆ fault

unsigned long fault

Faulting address.

Definition at line 66 of file extable.h.

◆ fixup

unsigned long fixup

Fixup address.

Definition at line 67 of file extable.h.

◆ handler

bool(* handler) (struct cpu_regs *regs, const struct extable_entry *ex)

Optional custom handler.

If provided, the handler is responsible for altering regs->ip to avoid the fault.

Parameters
regsRegister state from the fault.
exextable_entry for the fault.
Returns
true if the fault was successfully handled. false otherwise.

Definition at line 79 of file extable.h.


The documentation for this struct was generated from the following file: