diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-07-04 23:26:49 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-07-04 23:26:57 +0200 |
| commit | b1183e55fdf3468e9826d909531138bf620a7b18 (patch) | |
| tree | 92386489b43df3365cd7e930ad759a948b19630f /src | |
| parent | b6c93775516b0d61fbbcee0d064c6822dfc4c4e6 (diff) | |
| download | box64-b1183e55fdf3468e9826d909531138bf620a7b18.tar.gz box64-b1183e55fdf3468e9826d909531138bf620a7b18.zip | |
Added a few more xcb wrapped functions (for #17)
Diffstat (limited to 'src')
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.c | 2 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.h | 1 | ||||
| -rwxr-xr-x | src/wrapped/wrappedlibxcb_private.h | 4 | ||||
| -rw-r--r-- | src/wrapped/wrappedxkbcommon_private.h | 2 |
5 files changed, 7 insertions, 3 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 7d5c839e..6b73ab75 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -1101,6 +1101,7 @@ #() pFpCuWCCC #() pFpCuuwwp #() pFpCuuuuu +#() pFpCpWWup #() pFpuuuwwu #() pFpuupwwC #() pFppiiCCC diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c index 65dc1f36..c82362ef 100644 --- a/src/wrapped/generated/wrapper.c +++ b/src/wrapped/generated/wrapper.c @@ -1135,6 +1135,7 @@ typedef void* (*pFpCuwwWW_t)(void*, uint8_t, uint64_t, int16_t, int16_t, uint16_ typedef void* (*pFpCuWCCC_t)(void*, uint8_t, uint64_t, uint16_t, uint8_t, uint8_t, uint8_t); typedef void* (*pFpCuuwwp_t)(void*, uint8_t, uint64_t, uint64_t, int16_t, int16_t, void*); typedef void* (*pFpCuuuuu_t)(void*, uint8_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t); +typedef void* (*pFpCpWWup_t)(void*, uint8_t, void*, uint16_t, uint16_t, uint64_t, void*); typedef void* (*pFpuuuwwu_t)(void*, uint64_t, uint64_t, uint64_t, int16_t, int16_t, uint64_t); typedef void* (*pFpuupwwC_t)(void*, uint64_t, uint64_t, void*, int16_t, int16_t, uint8_t); typedef void* (*pFppiiCCC_t)(void*, void*, int64_t, int64_t, uint8_t, uint8_t, uint8_t); @@ -2465,6 +2466,7 @@ void pFpCuwwWW(x64emu_t *emu, uintptr_t fcn) { pFpCuwwWW_t fn = (pFpCuwwWW_t)fcn void pFpCuWCCC(x64emu_t *emu, uintptr_t fcn) { pFpCuWCCC_t fn = (pFpCuWCCC_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (uint64_t)R_RDX, (uint16_t)R_RCX, (uint8_t)R_R8, (uint8_t)R_R9, *(uint8_t*)(R_RSP + 8)); } void pFpCuuwwp(x64emu_t *emu, uintptr_t fcn) { pFpCuuwwp_t fn = (pFpCuuwwp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (int16_t)R_R8, (int16_t)R_R9, *(void**)(R_RSP + 8)); } void pFpCuuuuu(x64emu_t *emu, uintptr_t fcn) { pFpCuuuuu_t fn = (pFpCuuuuu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (uint64_t)R_R8, (uint64_t)R_R9, *(uint64_t*)(R_RSP + 8)); } +void pFpCpWWup(x64emu_t *emu, uintptr_t fcn) { pFpCpWWup_t fn = (pFpCpWWup_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (void*)R_RDX, (uint16_t)R_RCX, (uint16_t)R_R8, (uint64_t)R_R9, *(void**)(R_RSP + 8)); } void pFpuuuwwu(x64emu_t *emu, uintptr_t fcn) { pFpuuuwwu_t fn = (pFpuuuwwu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint64_t)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (int16_t)R_R8, (int16_t)R_R9, *(uint64_t*)(R_RSP + 8)); } void pFpuupwwC(x64emu_t *emu, uintptr_t fcn) { pFpuupwwC_t fn = (pFpuupwwC_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint64_t)R_RSI, (uint64_t)R_RDX, (void*)R_RCX, (int16_t)R_R8, (int16_t)R_R9, *(uint8_t*)(R_RSP + 8)); } void pFppiiCCC(x64emu_t *emu, uintptr_t fcn) { pFppiiCCC_t fn = (pFppiiCCC_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (uint8_t)R_R8, (uint8_t)R_R9, *(uint8_t*)(R_RSP + 8)); } diff --git a/src/wrapped/generated/wrapper.h b/src/wrapped/generated/wrapper.h index 9499886a..e3f0e948 100644 --- a/src/wrapped/generated/wrapper.h +++ b/src/wrapped/generated/wrapper.h @@ -1131,6 +1131,7 @@ void pFpCuwwWW(x64emu_t *emu, uintptr_t fnc); void pFpCuWCCC(x64emu_t *emu, uintptr_t fnc); void pFpCuuwwp(x64emu_t *emu, uintptr_t fnc); void pFpCuuuuu(x64emu_t *emu, uintptr_t fnc); +void pFpCpWWup(x64emu_t *emu, uintptr_t fnc); void pFpuuuwwu(x64emu_t *emu, uintptr_t fnc); void pFpuupwwC(x64emu_t *emu, uintptr_t fnc); void pFppiiCCC(x64emu_t *emu, uintptr_t fnc); diff --git a/src/wrapped/wrappedlibxcb_private.h b/src/wrapped/wrappedlibxcb_private.h index c942454a..d5342139 100755 --- a/src/wrapped/wrappedlibxcb_private.h +++ b/src/wrapped/wrappedlibxcb_private.h @@ -540,8 +540,8 @@ GO(xcb_send_request_with_fds, uFpippup) GO(xcb_send_request_with_fds64, UFpippup) //GO(xcb_set_access_control, //GO(xcb_set_access_control_checked, -//GO(xcb_set_clip_rectangles, -//GO(xcb_set_clip_rectangles_checked, +GO(xcb_set_clip_rectangles, pFpCpWWup) +GO(xcb_set_clip_rectangles_checked, pFpCpWWup) //GO(xcb_set_clip_rectangles_rectangles, //GO(xcb_set_clip_rectangles_rectangles_iterator, //GO(xcb_set_clip_rectangles_rectangles_length, diff --git a/src/wrapped/wrappedxkbcommon_private.h b/src/wrapped/wrappedxkbcommon_private.h index 897900f9..4563f3a6 100644 --- a/src/wrapped/wrappedxkbcommon_private.h +++ b/src/wrapped/wrappedxkbcommon_private.h @@ -90,4 +90,4 @@ GO(xkb_keymap_num_mods, uFp) //GO(xkb_state_serialize_mods, //GO(xkb_state_unref, //GO(xkb_state_update_key, -//GO(xkb_state_update_mask, +GO(xkb_state_update_mask, iFpiiiiii) |