kernel/svc_types: refresh
This commit is contained in:
parent
770f23db34
commit
4eece4d35d
19 changed files with 562 additions and 136 deletions
|
@ -265,7 +265,8 @@ void KPageBufferSlabHeap::Initialize(Core::System& system) {
|
|||
const size_t slab_size = num_pages * PageSize;
|
||||
|
||||
// Reserve memory from the system resource limit.
|
||||
ASSERT(kernel.GetSystemResourceLimit()->Reserve(LimitableResource::PhysicalMemory, slab_size));
|
||||
ASSERT(
|
||||
kernel.GetSystemResourceLimit()->Reserve(LimitableResource::PhysicalMemoryMax, slab_size));
|
||||
|
||||
// Allocate memory for the slab.
|
||||
constexpr auto AllocateOption = KMemoryManager::EncodeOption(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue