| 135 | } |
| 136 | |
| 137 | void 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 | |
| 144 | void sys_spu_image::deploy(u8 *loc, std::span<const sys_spu_segment> segs, |
| 145 | bool is_verbose) { |
no test coverage detected