COD (C-On-Demand) Dynamic Code Generation
Data Fields
_cod_code_struct Struct Reference
Collaboration diagram for _cod_code_struct:
Collaboration graph
[legend]

Data Fields

void(* func )(void)
int has_exec_ctx
void * code_memory_block
void * data
int static_size_required
int static_block_address_register
FMStructDescList static_formats
void * drisc_context
void * execution_handle

Detailed Description

cod_code is a handle to the generated code. In addition to the generated code block, it holds external data pointers and supplemental information.


Field Documentation

void(* _cod_code_struct::func)(void)

the entry point of the generated function

set to true if the code requires an cod_exec_ctx to run

the memory block containing the code of the generated function

the static data block referenced by the generated function

the size of the static data block referenced by the generated function

the virtual register that holds the address of the static data block

the IOFormats that describe the static data block

a pointer to the DRISC context used to generate the function

a pointer to the DRISC execution handle used to free the function