Go to the source code of this file.
|
void | trap_init (void) |
| Mmap the first memory page to support hardware exceptions and check the maximum hardware trap displacement on the architectures where it is required (TRAP_INSTRUCTION_IS_LOAD defined to 1). More...
|
|
void | trap_handle (int sig, void *xpc, void *context) |
| Handles the signal which is generated by trap instructions, caught by a signal handler and calls the correct function. More...
|
|
Handles the signal which is generated by trap instructions, caught by a signal handler and calls the correct function.
- Parameters
-
sig | signal number |
xpc | exception PC |
context | pointer to OS dependent machine context |
Definition at line 101 of file trap.cpp.
Mmap the first memory page to support hardware exceptions and check the maximum hardware trap displacement on the architectures where it is required (TRAP_INSTRUCTION_IS_LOAD defined to 1).
Definition at line 68 of file trap.cpp.