MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / fix_size

Function fix_size

core/mem.c:69–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69static void fix_size(uint32_t *addr, int32_t *size) {
70 if (*size < 0) {
71 *addr += *size;
72 *size = -*size;
73 }
74}
75
76static uint32_t addr_block(uint32_t *addr, int32_t size, void **block, uint32_t *block_size) {
77 if (*addr < 0xD00000) {

Callers 3

phys_mem_ptrFunction · 0.85
virt_mem_cpyFunction · 0.85
mem_dma_cpyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected