CACAO
Functions | Variables
md.hpp File Reference

Go to the source code of this file.

Functions

static int32_t md_stacktrace_get_framesize (codeinfo *code)
 Returns the size (in bytes) of the current stackframe, specified by the passed codeinfo structure. More...
 
static voidmd_stacktrace_get_returnaddress (void *sp, int32_t stackframesize)
 
static voidmd_codegen_get_pv_from_pc (void *ra)
 
void asm_flush_icache_range (void *start, void *end) __asm__("asm_flush_icache_range")
 
void asm_flush_dcache_range (void *start, void *end) __asm__("asm_flush_dcache_range")
 
static void md_cacheflush (void *addr, int nbytes)
 
static void md_icacheflush (void *addr, int nbytes)
 
static void md_dcacheflush (void *addr, int nbytes)
 

Variables

bool has_ext_instr_set
 

Function Documentation

void asm_flush_dcache_range ( void start,
void end 
)
void asm_flush_icache_range ( void start,
void end 
)
static void md_cacheflush ( void addr,
int  nbytes 
)
inlinestatic

Definition at line 138 of file md.hpp.

static void* md_codegen_get_pv_from_pc ( void ra)
inlinestatic

Definition at line 99 of file md.hpp.

static void md_dcacheflush ( void addr,
int  nbytes 
)
inlinestatic

Definition at line 163 of file md.hpp.

static void md_icacheflush ( void addr,
int  nbytes 
)
inlinestatic

Definition at line 151 of file md.hpp.

static int32_t md_stacktrace_get_framesize ( codeinfo code)
inlinestatic

Returns the size (in bytes) of the current stackframe, specified by the passed codeinfo structure.

Definition at line 56 of file md.hpp.

static void* md_stacktrace_get_returnaddress ( void sp,
int32_t  stackframesize 
)
inlinestatic

Definition at line 76 of file md.hpp.

Variable Documentation

bool has_ext_instr_set

Definition at line 40 of file md.cpp.