Commit f9f23e10 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Use the generated syscall list.

parent 401288a7
......@@ -88,6 +88,7 @@
#include "winternl.h"
#include "unix_private.h"
#include "wine/list.h"
#include "ntsyscalls.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(module);
......@@ -118,247 +119,13 @@ static void *p__wine_syscall_dispatcher;
static void * const syscalls[] =
{
NtAcceptConnectPort,
NtAccessCheck,
NtAccessCheckAndAuditAlarm,
NtAddAtom,
NtAdjustGroupsToken,
NtAdjustPrivilegesToken,
NtAlertResumeThread,
NtAlertThread,
NtAlertThreadByThreadId,
NtAllocateLocallyUniqueId,
NtAllocateUuids,
NtAllocateVirtualMemory,
NtAllocateVirtualMemoryEx,
NtAreMappedFilesTheSame,
NtAssignProcessToJobObject,
NtCallbackReturn,
NtCancelIoFile,
NtCancelIoFileEx,
NtCancelSynchronousIoFile,
NtCancelTimer,
NtClearEvent,
NtClose,
NtCommitTransaction,
NtCompareObjects,
NtCompleteConnectPort,
NtConnectPort,
NtContinue,
NtCreateDebugObject,
NtCreateDirectoryObject,
NtCreateEvent,
NtCreateFile,
NtCreateIoCompletion,
NtCreateJobObject,
NtCreateKey,
NtCreateKeyTransacted,
NtCreateKeyedEvent,
NtCreateLowBoxToken,
NtCreateMailslotFile,
NtCreateMutant,
NtCreateNamedPipeFile,
NtCreatePagingFile,
NtCreatePort,
NtCreateSection,
NtCreateSemaphore,
NtCreateSymbolicLinkObject,
NtCreateThread,
NtCreateThreadEx,
NtCreateTimer,
NtCreateToken,
NtCreateTransaction,
NtCreateUserProcess,
NtDebugActiveProcess,
NtDebugContinue,
NtDelayExecution,
NtDeleteAtom,
NtDeleteFile,
NtDeleteKey,
NtDeleteValueKey,
NtDeviceIoControlFile,
NtDisplayString,
NtDuplicateObject,
NtDuplicateToken,
NtEnumerateKey,
NtEnumerateValueKey,
NtFilterToken,
NtFindAtom,
NtFlushBuffersFile,
NtFlushInstructionCache,
NtFlushKey,
NtFlushProcessWriteBuffers,
NtFlushVirtualMemory,
NtFreeVirtualMemory,
NtFsControlFile,
NtGetContextThread,
NtGetCurrentProcessorNumber,
NtGetNextThread,
NtGetNlsSectionPtr,
NtGetWriteWatch,
NtImpersonateAnonymousToken,
NtInitializeNlsFiles,
NtInitiatePowerAction,
NtIsProcessInJob,
NtListenPort,
NtLoadDriver,
NtLoadKey,
NtLoadKey2,
NtLoadKeyEx,
NtLockFile,
NtLockVirtualMemory,
NtMakeTemporaryObject,
NtMapViewOfSection,
NtMapViewOfSectionEx,
NtNotifyChangeDirectoryFile,
NtNotifyChangeKey,
NtNotifyChangeMultipleKeys,
NtOpenDirectoryObject,
NtOpenEvent,
NtOpenFile,
NtOpenIoCompletion,
NtOpenJobObject,
NtOpenKey,
NtOpenKeyEx,
NtOpenKeyTransacted,
NtOpenKeyTransactedEx,
NtOpenKeyedEvent,
NtOpenMutant,
NtOpenProcess,
NtOpenProcessToken,
NtOpenProcessTokenEx,
NtOpenSection,
NtOpenSemaphore,
NtOpenSymbolicLinkObject ,
NtOpenThread,
NtOpenThreadToken,
NtOpenThreadTokenEx,
NtOpenTimer,
NtPowerInformation,
NtPrivilegeCheck,
NtProtectVirtualMemory,
NtPulseEvent,
NtQueryAttributesFile,
NtQueryDefaultLocale,
NtQueryDefaultUILanguage,
NtQueryDirectoryFile,
NtQueryDirectoryObject,
NtQueryEaFile,
NtQueryEvent,
NtQueryFullAttributesFile,
NtQueryInformationAtom,
NtQueryInformationFile,
NtQueryInformationJobObject,
NtQueryInformationProcess,
NtQueryInformationThread,
NtQueryInformationToken,
NtQueryInstallUILanguage,
NtQueryIoCompletion,
NtQueryKey,
NtQueryLicenseValue,
NtQueryMultipleValueKey,
NtQueryMutant,
NtQueryObject,
NtQueryPerformanceCounter,
NtQuerySection,
NtQuerySecurityObject,
NtQuerySemaphore ,
NtQuerySymbolicLinkObject,
NtQuerySystemEnvironmentValue,
NtQuerySystemEnvironmentValueEx,
NtQuerySystemInformation,
NtQuerySystemInformationEx,
NtQuerySystemTime,
NtQueryTimer,
NtQueryTimerResolution,
NtQueryValueKey,
NtQueryVirtualMemory,
NtQueryVolumeInformationFile,
NtQueueApcThread,
NtRaiseException,
NtRaiseHardError,
NtReadFile,
NtReadFileScatter,
NtReadVirtualMemory,
NtRegisterThreadTerminatePort,
NtReleaseKeyedEvent,
NtReleaseMutant,
NtReleaseSemaphore,
NtRemoveIoCompletion,
NtRemoveIoCompletionEx,
NtRemoveProcessDebug,
NtRenameKey,
NtReplaceKey,
NtReplyWaitReceivePort,
NtRequestWaitReplyPort,
NtResetEvent,
NtResetWriteWatch,
NtRestoreKey,
NtResumeProcess,
NtResumeThread,
NtRollbackTransaction,
NtSaveKey,
NtSecureConnectPort,
NtSetContextThread,
NtSetDebugFilterState,
NtSetDefaultLocale,
NtSetDefaultUILanguage,
NtSetEaFile,
NtSetEvent,
NtSetInformationDebugObject,
NtSetInformationFile,
NtSetInformationJobObject,
NtSetInformationKey,
NtSetInformationObject,
NtSetInformationProcess,
NtSetInformationThread,
NtSetInformationToken,
NtSetInformationVirtualMemory,
NtSetIntervalProfile,
NtSetIoCompletion,
NtSetLdtEntries,
NtSetSecurityObject,
NtSetSystemInformation,
NtSetSystemTime,
NtSetThreadExecutionState,
NtSetTimer,
NtSetTimerResolution,
NtSetValueKey,
NtSetVolumeInformationFile,
NtShutdownSystem,
NtSignalAndWaitForSingleObject,
NtSuspendProcess,
NtSuspendThread,
NtSystemDebugControl,
NtTerminateJobObject,
NtTerminateProcess,
NtTerminateThread,
NtTestAlert,
NtTraceControl,
NtUnloadDriver,
NtUnloadKey,
NtUnlockFile,
NtUnlockVirtualMemory,
NtUnmapViewOfSection,
NtUnmapViewOfSectionEx,
NtWaitForAlertByThreadId,
NtWaitForDebugEvent,
NtWaitForKeyedEvent,
NtWaitForMultipleObjects,
NtWaitForSingleObject,
#ifndef _WIN64
NtWow64AllocateVirtualMemory64,
NtWow64GetNativeSystemInformation,
NtWow64IsProcessorFeaturePresent,
NtWow64ReadVirtualMemory64,
NtWow64WriteVirtualMemory64,
#define SYSCALL_ENTRY(id,name,args) name,
#ifdef _WIN64
ALL_SYSCALLS64
#else
ALL_SYSCALLS32
#endif
NtWriteFile,
NtWriteFileGather,
NtWriteVirtualMemory,
NtYieldExecution,
wine_nt_to_unix_file_name,
wine_unix_to_nt_file_name,
#undef SYSCALL_ENTRY
};
static BYTE syscall_args[ARRAY_SIZE(syscalls)];
......
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