mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:27:43 +00:00
UserspaceEmulator+LibC: Add support for Region-of-Interest profiling
This commit is contained in:
parent
18b2484985
commit
64ccf2196c
6 changed files with 51 additions and 1 deletions
|
@ -151,4 +151,9 @@ u16 internet_checksum(const void* ptr, size_t count)
|
|||
checksum = (checksum & 0xffff) + (checksum >> 16);
|
||||
return htons(~checksum);
|
||||
}
|
||||
|
||||
int emuctl(uintptr_t command, uintptr_t arg0, uintptr_t arg1)
|
||||
{
|
||||
return syscall(SC_emuctl, command, arg0, arg1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue