MCPcopy Create free account
hub / github.com/YatSenOS/YatSenOS-Tutorial-Volume-1 / release

Method release

lab8/src/6/src/utils/address_pool.cpp:23–26  ·  view source on GitHub ↗

释放若干页的空间

Source from the content-addressed store, hash-verified

21
22// 释放若干页的空间
23void AddressPool::release(const int address, const int amount)
24{
25 resources.release((address - startAddress) / PAGE_SIZE, amount);
26}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected