Kernel: fork() now copies allocation done through GeneralAllocator

This commit is contained in:
Bananymous
2023-05-28 20:37:39 +03:00
parent f2d767b799
commit f04399c3a0
4 changed files with 52 additions and 5 deletions

View File

@@ -19,6 +19,8 @@ namespace Kernel
vaddr_t allocate(size_t);
bool deallocate(vaddr_t);
BAN::ErrorOr<GeneralAllocator*> clone(MMU&);
private:
struct Allocation
{