Verified Commit 14548648 authored by 4lDO2's avatar 4lDO2 🖖

One bump alloc fix and syscall update.

parent dd20b394
......@@ -138,7 +138,7 @@ impl FrameAllocator for BumpAllocator {
}
// frame is unused, increment `next_free_frame` and return it
self.next_free_frame.number += count;
self.next_free_frame.number += actual_size;
return Some((start_frame, actual_size));
} else {
None // no free memory areas left, and thus no frames left
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment