CACAO
Functions | Variables
md.cpp File Reference

Go to the source code of this file.

Functions

void md_init (void)
 
voidmd_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...
 

Variables

bool has_ext_instr_set = false
 

Function Documentation

void md_init ( void  )

Definition at line 58 of file md.cpp.

void* md_jit_method_patch_address ( void pv,
void ra,
void mptr 
)

Definition at line 124 of file md.cpp.

bool md_trap_decode ( trapinfo_t trp,
int  sig,
void xpc,
executionstate_t es 
)

Decode the trap instruction at the given PC.

Parameters
trpinformation about trap to be filled
sigsignal number
xpcexception PC
esexecution state of the machine
Returns
true if trap was decoded successfully, false otherwise.

Definition at line 202 of file md.cpp.

Variable Documentation

bool has_ext_instr_set = false

Definition at line 49 of file md.cpp.