MCPcopy Create free account
hub / github.com/RPCSX/rpcsx / free

Method free

kernel/cellos/src/sys_spu.cpp:137–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void sys_spu_image::free() const {
138 if (type == SYS_SPU_IMAGE_TYPE_KERNEL) {
139 // TODO: Remove, should be handled by syscalls
140 ensure(vm::dealloc(segs.addr(), vm::main));
141 }
142}
143
144void sys_spu_image::deploy(u8 *loc, std::span<const sys_spu_segment> segs,
145 bool is_verbose) {

Callers 15

sys_vm_memory_mapFunction · 0.45
sys_vm_unmapFunction · 0.45
sys_vm_return_memoryFunction · 0.45
sys_fs_closeFunction · 0.45
sys_fs_fcntlFunction · 0.45
sys_memory_allocateFunction · 0.45
sys_memory_freeFunction · 0.45

Calls 3

deallocFunction · 0.85
ensureFunction · 0.50
addrMethod · 0.45

Tested by

no test coverage detected