Initialize allocator with specified heap bounds:
(&mut self, heap_start: usize, heap_size: usize)
| 52 | |
| 53 | // Initialize allocator with specified heap bounds: |
| 54 | pub unsafe fn init(&mut self, heap_start: usize, heap_size: usize) |
| 55 | { |
| 56 | self.add_freergn(heap_start: usize, heap_size: usize) |
| 57 | } |
| 58 | |
| 59 | // Add specified memreg to front of the list: |
| 60 | unsafe fn add_freergn(&mut self, addr: usize, size: usize) |
no test coverage detected