Go to the source code of this file.
|
void | md_init (void) |
|
void | md_signal_handler_sigsegv (int sig, siginfo_t *siginfo, void *_p) |
| NullPointerException signal handler for hardware null pointer check. More...
|
|
void | md_signal_handler_sigill (int sig, siginfo_t *siginfo, void *_p) |
| Illegal Instruction signal handler for hardware exception checks. More...
|
|
void | md_signal_handler_sigfpe (int sig, siginfo_t *siginfo, void *_p) |
|
void | md_signal_handler_sigusr2 (int sig, siginfo_t *siginfo, void *_p) |
|
void | md_executionstate_read (executionstate_t *es, void *context) |
| Read the given context into an executionstate. More...
|
|
void | md_executionstate_write (executionstate_t *es, void *context) |
| Write the given executionstate back to the context. More...
|
|
void * | md_jit_method_patch_address (void *pv, void *ra, void *mptr) |
|
bool | md_trap_decode (trapinfo_t *trp, int sig, void *xpc, executionstate_t *es) |
| Decode the trap instruction at the given PC. More...
|
|
void | md_handle_exception (int32_t *regs, int64_t *fregs, int32_t *out) |
|
Read the given context into an executionstate.
- Parameters
-
es | execution state |
context | machine context |
Definition at line 165 of file md.cpp.
Write the given executionstate back to the context.
- Parameters
-
es | execution state |
context | machine context |
Definition at line 199 of file md.cpp.
void md_handle_exception |
( |
int32_t * |
regs, |
|
|
int64_t * |
fregs, |
|
|
int32_t * |
out |
|
) |
| |
void md_signal_handler_sigfpe |
( |
int |
sig, |
|
|
siginfo_t * |
siginfo, |
|
|
void * |
_p |
|
) |
| |
void md_signal_handler_sigill |
( |
int |
sig, |
|
|
siginfo_t * |
siginfo, |
|
|
void * |
_p |
|
) |
| |
Illegal Instruction signal handler for hardware exception checks.
Definition at line 76 of file md.cpp.
void md_signal_handler_sigsegv |
( |
int |
sig, |
|
|
siginfo_t * |
siginfo, |
|
|
void * |
_p |
|
) |
| |
NullPointerException signal handler for hardware null pointer check.
NullPointerException signal handler for hardware null pointer check.
Definition at line 62 of file md.cpp.
void md_signal_handler_sigusr2 |
( |
int |
sig, |
|
|
siginfo_t * |
siginfo, |
|
|
void * |
_p |
|
) |
| |
Decode the trap instruction at the given PC.
- Parameters
-
trp | information about trap to be filled |
sig | signal number |
xpc | exception PC |
es | execution state of the machine |
- Returns
- true if trap was decoded successfully, false otherwise.
Definition at line 333 of file md.cpp.