Data Structures | |
struct | defspace_s |
Represent a block of memory in the progs data space. More... | |
Typedefs | |
typedef struct defspace_s | defspace_t |
Represent a block of memory in the progs data space. More... | |
Enumerations | |
enum | ds_type_t { ds_backed, ds_virtual } |
Functions | |
int | defspace_add_data (defspace_t *space, pr_type_t *data, int size) |
Copy a block of data into a defspace. More... | |
int | defspace_alloc_loc (defspace_t *space, int size) |
Allocate space from the defspace's backing memory. More... | |
void | defspace_free_loc (defspace_t *space, int ofs, int size) |
Free a block of contiguous words, returning them to the defspace. More... | |
defspace_t * | defspace_new (ds_type_t type) |
Create an empty defspace. More... | |