feat: implement new IPC layer

This commit is contained in:
2026-04-01 13:11:03 +02:00
parent 36329504dc
commit fb9885819b
34 changed files with 3210 additions and 897 deletions
+6
View File
@@ -51,6 +51,12 @@ namespace Montauk {
return WinServer::Map(windowId, proc->pid, proc->pml4Phys, proc->heapNext);
}
static int Sys_WinUnmap(int windowId) {
auto* proc = Sched::GetCurrentProcessPtr();
if (proc == nullptr) return -1;
return WinServer::Unmap(windowId, proc->pid, proc->pml4Phys);
}
static int Sys_WinSendEvent(int windowId, const WinEvent* event) {
if (event == nullptr) return -1;
return WinServer::SendEvent(windowId, event);