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 48 of file md.cpp.

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

Definition at line 83 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 192 of file md.cpp.

Variable Documentation

bool has_ext_instr_set = false

Definition at line 40 of file md.cpp.