Add a kmalloc_eternal() for things that will never be destroyed.

This commit is contained in:
Andreas Kling
2018-10-31 23:19:15 +01:00
parent d980ddc745
commit 9a086b2d35
20 changed files with 85 additions and 20 deletions

View File

@@ -28,6 +28,7 @@ inline constexpr dword encodedDevice(unsigned major, unsigned minor)
}
class VirtualFileSystem {
AK_MAKE_ETERNAL
public:
static void initializeGlobals();
static SpinLock& lock();