|
Xen Test Framework
|
Exception table support. More...
#include <xtf/types.h>#include <xtf/asm_macros.h>#include <xtf/macro_magic.h>#include <arch/extable.h>
Include dependency graph for extable.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | extable_entry |
| Exception table entry. More... | |
Macros | |
| #define | _ASM_EXTABLE_HANDLER(fault, fixup, handler) |
| Create an exception table entry with custom handler. More... | |
| #define | _ASM_EXTABLE(fault, fixup) _ASM_EXTABLE_HANDLER(fault, fixup, 0) |
| Create an exception table entry. More... | |
| #define | _ASM_TRAP_OK(loc) _ASM_EXTABLE(loc, loc) |
Create an exception table entry, whitelisting a trap as being ok at loc. More... | |
Functions | |
| void | sort_extable (void) |
| Sort the exception table. More... | |
| const struct extable_entry * | search_extable (unsigned long addr) |
| Search the exception table to find the entry associated with a specific faulting address. More... | |
Exception table support.
Allows code to tag an instruction which might fault, and where to jump to in order to recover. For more complicated recovery, a custom handler can be registered.
Definition in file extable.h.
| #define _ASM_EXTABLE_HANDLER | ( | fault, | |
| fixup, | |||
| handler | |||
| ) |
Create an exception table entry with custom handler.
| fault | Faulting address. |
| fixup | Fixup address. |
| handler | Handler to call. |
| #define _ASM_EXTABLE | ( | fault, | |
| fixup | |||
| ) | _ASM_EXTABLE_HANDLER(fault, fixup, 0) |
| #define _ASM_TRAP_OK | ( | loc | ) | _ASM_EXTABLE(loc, loc) |
| void sort_extable | ( | void | ) |
| const struct extable_entry * search_extable | ( | unsigned long | addr | ) |
Search the exception table to find the entry associated with a specific faulting address.
| addr | Faulting address. |
Definition at line 11 of file extable.c.
Here is the caller graph for this function: