wow64: Add thunks for the Unix library syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
572817948a
commit
8347c686e9
|
@ -262,6 +262,19 @@ NTSTATUS WINAPI wow64___wine_dbg_write( UINT *args )
|
|||
}
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* wow64___wine_unix_call
|
||||
*/
|
||||
NTSTATUS WINAPI wow64___wine_unix_call( UINT *args )
|
||||
{
|
||||
unixlib_handle_t handle = get_ulong64( &args );
|
||||
unsigned int code = get_ulong( &args );
|
||||
void *args_ptr = get_ptr( &args );
|
||||
|
||||
return __wine_unix_call( handle, code, args_ptr );
|
||||
}
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* wow64_wine_server_call
|
||||
*/
|
||||
|
|
|
@ -245,6 +245,7 @@
|
|||
SYSCALL_ENTRY( NtWriteVirtualMemory ) \
|
||||
SYSCALL_ENTRY( NtYieldExecution ) \
|
||||
SYSCALL_ENTRY( __wine_dbg_write ) \
|
||||
SYSCALL_ENTRY( __wine_unix_call ) \
|
||||
SYSCALL_ENTRY( wine_nt_to_unix_file_name ) \
|
||||
SYSCALL_ENTRY( wine_server_call ) \
|
||||
SYSCALL_ENTRY( wine_server_fd_to_handle ) \
|
||||
|
|
|
@ -364,8 +364,13 @@ NTSTATUS WINAPI wow64_NtQueryVirtualMemory( UINT *args )
|
|||
}
|
||||
|
||||
case MemoryWineImageInitFuncs:
|
||||
case MemoryWineUnixWow64Funcs:
|
||||
return STATUS_INVALID_INFO_CLASS;
|
||||
|
||||
case MemoryWineUnixFuncs:
|
||||
status = NtQueryVirtualMemory( handle, addr, MemoryWineUnixWow64Funcs, ptr, len, &res_len );
|
||||
break;
|
||||
|
||||
default:
|
||||
FIXME( "unsupported class %u\n", class );
|
||||
return STATUS_INVALID_INFO_CLASS;
|
||||
|
|
Loading…
Reference in New Issue