feat: implement new IPC layer

This commit is contained in:
daniel committed 2026-04-01 13:11:03 +02:00
1 parent 36329504dc
commit fb9885819b
34 files changed
+3210 -897

No files matched your search

+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);