1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 10:18:15 +09:00

Start working on a GUI kernel API.

This commit is contained in:
Andreas Kling 2019-01-13 01:59:38 +01:00
parent becc2c7fa5
commit 8f8c8d1ca3
Notes: sideshowbarker 2024-07-19 16:03:20 +09:00
17 changed files with 150 additions and 11 deletions

View file

@ -187,6 +187,10 @@ static dword handle(RegisterDump& regs, dword function, dword arg1, dword arg2,
return current->sys$utime((const char*)arg1, (const Unix::utimbuf*)arg2);
case Syscall::SC_sync:
return sync();
case Syscall::SC_gui_create_window:
return current->gui$create_window((const GUI_CreateWindowParameters*)arg1);
case Syscall::SC_gui_destroy_window:
return current->gui$destroy_window((int)arg1);
default:
kprintf("<%u> int0x80: Unknown function %u requested {%x, %x, %x}\n", current->pid(), function, arg1, arg2, arg3);
break;