[Kernel] Implement CreateMemoryBlock

This commit is contained in:
wheremyfoodat 2023-01-29 16:29:45 +02:00
parent ec7c0b86b7
commit 980139e588
5 changed files with 93 additions and 7 deletions

View file

@ -45,6 +45,7 @@ class Kernel {
Handle makePort(const char* name);
Handle makeSession(Handle port);
Handle makeThread(u32 entrypoint, u32 initialSP, u32 priority, s32 id, u32 arg,ThreadStatus status = ThreadStatus::Dormant);
Handle makeMemoryBlock(u32 addr, u32 size, u32 myPermission, u32 otherPermission);
public:
Handle makeEvent(ResetType resetType); // Needs to be public to be accessible to the APT/HID services