Exception table support.
More...
#include <xtf/lib.h>
#include <xtf/extable.h>
Go to the source code of this file.
Exception table support.
Definition in file extable.c.
◆ search_extable()
const struct extable_entry * search_extable |
( |
unsigned long |
addr | ) |
|
Search the exception table to find the entry associated with a specific faulting address.
- Parameters
-
- Returns
- Appropriate extable_entry, or NULL if no entry.
Definition at line 11 of file extable.c.
◆ compare_extable_entry()
static int compare_extable_entry |
( |
const void * |
_l, |
|
|
const void * |
_r |
|
) |
| |
|
static |
◆ swap_extable_entry()
static void swap_extable_entry |
( |
void * |
_l, |
|
|
void * |
_r |
|
) |
| |
|
static |
◆ sort_extable()
void sort_extable |
( |
void |
| ) |
|
Sort the exception table.
Required to be called once on boot to make searching efficient.
Definition at line 52 of file extable.c.
◆ __start_ex_table
◆ __stop_ex_table