mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:48:11 +00:00
Add a kmalloc_eternal() for things that will never be destroyed.
This commit is contained in:
parent
d980ddc745
commit
9a086b2d35
20 changed files with 85 additions and 20 deletions
|
@ -36,6 +36,7 @@ bool copyToZone(Zone&, const void* data, size_t);
|
|||
#define MM MemoryManager::the()
|
||||
|
||||
class MemoryManager {
|
||||
AK_MAKE_ETERNAL
|
||||
friend ByteBuffer procfs$mm();
|
||||
public:
|
||||
static MemoryManager& the() PURE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue