diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2021-08-08 03:00:17 +0430 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-08-10 05:13:44 +0430 |
commit | 64ccf2196c6307174090ad8c060cf50bf413cc72 (patch) | |
tree | 722b138d35433d0594ca92af03dc1fd61ee6294f /Userland/Libraries/LibC/serenity.cpp | |
parent | 18b24849858a3ee705495a3da29e2762e1ddeb0e (diff) | |
download | serenity-64ccf2196c6307174090ad8c060cf50bf413cc72.zip |
UserspaceEmulator+LibC: Add support for Region-of-Interest profiling
Diffstat (limited to 'Userland/Libraries/LibC/serenity.cpp')
-rw-r--r-- | Userland/Libraries/LibC/serenity.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/serenity.cpp b/Userland/Libraries/LibC/serenity.cpp index 0f112ca0ae..7a8d8f69be 100644 --- a/Userland/Libraries/LibC/serenity.cpp +++ b/Userland/Libraries/LibC/serenity.cpp @@ -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); +} } |