Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f9f23e10
Commit
f9f23e10
authored
Nov 16, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Use the generated syscall list.
parent
401288a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
240 deletions
+7
-240
loader.c
dlls/ntdll/unix/loader.c
+7
-240
No files found.
dlls/ntdll/unix/loader.c
View file @
f9f23e10
...
...
@@ -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
)];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment