(&mut self, l: PhysPageNum, r: PhysPageNum)
| 46 | |
| 47 | impl StackFrameAllocator { |
| 48 | pub fn init(&mut self, l: PhysPageNum, r: PhysPageNum) { |
| 49 | self.current = l.0; |
| 50 | self.end = r.0; |
| 51 | // println!("last {} Physical Frames.", self.end - self.current); |
| 52 | } |
| 53 | } |
| 54 | impl FrameAllocator for StackFrameAllocator { |
| 55 | fn new() -> Self { |
no outgoing calls
no test coverage detected