mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-30 23:08:21 +00:00
mm: rework page frame allocator
This commit is contained in:
@@ -17,6 +17,11 @@ pub const Space = struct {
|
||||
lock: ke.QSpinLock,
|
||||
};
|
||||
|
||||
pub const PfnList = extern struct {
|
||||
head: u32,
|
||||
tail: u32,
|
||||
};
|
||||
|
||||
pub const impl = switch (config.arch) {
|
||||
.amd64 => @import("amd64/impl.zig"),
|
||||
.um => @import("um/impl.zig"),
|
||||
|
||||
Reference in New Issue
Block a user