Commit c2868b33 authored by Alexandre Julliard's avatar Alexandre Julliard

wow64win: Use the generated syscall list.

parent 4adf3bc0
......@@ -30,15 +30,15 @@
static void * const win32_syscalls[] =
{
#define SYSCALL_ENTRY(func) wow64_ ## func,
ALL_WIN32_SYSCALLS
#define SYSCALL_ENTRY(id,name,args) wow64_ ## name,
ALL_SYSCALLS32
#undef SYSCALL_ENTRY
};
static const char * const win32_syscall_names[] =
{
#define SYSCALL_ENTRY(func) #func,
ALL_WIN32_SYSCALLS
#define SYSCALL_ENTRY(id,name,args) #name,
ALL_SYSCALLS32
#undef SYSCALL_ENTRY
};
......
......@@ -21,14 +21,14 @@
#ifndef __WOW64WIN_PRIVATE_H
#define __WOW64WIN_PRIVATE_H
#include "syscall.h"
#include "../win32u/win32syscalls.h"
#define SYSCALL_ENTRY(func) extern NTSTATUS WINAPI wow64_ ## func( UINT *args ) DECLSPEC_HIDDEN;
ALL_WIN32_SYSCALLS
#define SYSCALL_ENTRY(id,name,_args) extern NTSTATUS WINAPI wow64_ ## name( UINT *args );
ALL_SYSCALLS32
#undef SYSCALL_ENTRY
typedef NTSTATUS (WINAPI *user_callback)( void *params, ULONG size );
extern user_callback user_callbacks[] DECLSPEC_HIDDEN;
extern user_callback user_callbacks[];
struct object_attr64
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment