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
e7c60141
Commit
e7c60141
authored
Jul 17, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Move some timer stub functions to the Unix library.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
398cfe48
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
51 deletions
+36
-51
nt.c
dlls/ntdll/nt.c
+0
-12
ntdll.spec
dlls/ntdll/ntdll.spec
+6
-6
sync.c
dlls/ntdll/sync.c
+0
-33
sync.c
dlls/ntdll/unix/sync.c
+30
-0
No files found.
dlls/ntdll/nt.c
View file @
e7c60141
...
...
@@ -826,18 +826,6 @@ NTSTATUS WINAPI NtReplyWaitReceivePort(
* Misc
*/
/******************************************************************************
* NtSetIntervalProfile [NTDLL.@]
* ZwSetIntervalProfile [NTDLL.@]
*/
NTSTATUS
WINAPI
NtSetIntervalProfile
(
ULONG
Interval
,
KPROFILE_SOURCE
Source
)
{
FIXME
(
"%u,%d
\n
"
,
Interval
,
Source
);
return
STATUS_SUCCESS
;
}
/***********************************************************************
* RtlIsProcessorFeaturePresent [NTDLL.@]
*/
...
...
dlls/ntdll/ntdll.spec
View file @
e7c60141
...
...
@@ -320,7 +320,7 @@
@ stdcall -syscall NtQuerySystemInformationEx(long ptr long ptr long ptr)
@ stdcall -syscall NtQuerySystemTime(ptr)
@ stdcall -syscall NtQueryTimer(ptr long ptr long ptr)
@ stdcall NtQueryTimerResolution(ptr ptr ptr)
@ stdcall
-syscall
NtQueryTimerResolution(ptr ptr ptr)
@ stdcall -syscall NtQueryValueKey(long ptr long ptr long ptr)
@ stdcall -syscall NtQueryVirtualMemory(long ptr long ptr long ptr)
@ stdcall -syscall NtQueryVolumeInformationFile(long ptr ptr long long)
...
...
@@ -380,7 +380,7 @@
@ stdcall -syscall NtSetInformationProcess(long long ptr long)
@ stdcall -syscall NtSetInformationThread(long long ptr long)
@ stdcall NtSetInformationToken(long long ptr long)
@ stdcall NtSetIntervalProfile(long long)
@ stdcall
-syscall
NtSetIntervalProfile(long long)
@ stdcall -syscall NtSetIoCompletion(ptr long long long long)
@ stdcall -syscall NtSetLdtEntries(long int64 long int64)
@ stub NtSetLowEventPair
...
...
@@ -396,7 +396,7 @@
@ stdcall -syscall NtSetSystemTime(ptr ptr)
@ stdcall NtSetThreadExecutionState(long ptr)
@ stdcall -syscall NtSetTimer(long ptr ptr ptr long long ptr)
@ stdcall NtSetTimerResolution(long long ptr)
@ stdcall
-syscall
NtSetTimerResolution(long long ptr)
# @ stub NtSetUuidSeed
@ stdcall -syscall NtSetValueKey(long ptr long long ptr long)
@ stdcall -syscall NtSetVolumeInformationFile(long ptr ptr long long)
...
...
@@ -1307,7 +1307,7 @@
@ stdcall -private -syscall ZwQuerySystemInformationEx(long ptr long ptr long ptr) NtQuerySystemInformationEx
@ stdcall -private -syscall ZwQuerySystemTime(ptr) NtQuerySystemTime
@ stdcall -private -syscall ZwQueryTimer(ptr long ptr long ptr) NtQueryTimer
@ stdcall -private ZwQueryTimerResolution(ptr ptr ptr) NtQueryTimerResolution
@ stdcall -private
-syscall
ZwQueryTimerResolution(ptr ptr ptr) NtQueryTimerResolution
@ stdcall -private -syscall ZwQueryValueKey(long ptr long ptr long ptr) NtQueryValueKey
@ stdcall -private -syscall ZwQueryVirtualMemory(long ptr long ptr long ptr) NtQueryVirtualMemory
@ stdcall -private -syscall ZwQueryVolumeInformationFile(long ptr ptr long long) NtQueryVolumeInformationFile
...
...
@@ -1367,7 +1367,7 @@
@ stdcall -private -syscall ZwSetInformationProcess(long long ptr long) NtSetInformationProcess
@ stdcall -private -syscall ZwSetInformationThread(long long ptr long) NtSetInformationThread
@ stdcall -private ZwSetInformationToken(long long ptr long) NtSetInformationToken
@ stdcall -private ZwSetIntervalProfile(long long) NtSetIntervalProfile
@ stdcall -private
-syscall
ZwSetIntervalProfile(long long) NtSetIntervalProfile
@ stdcall -private -syscall ZwSetIoCompletion(ptr long long long long) NtSetIoCompletion
@ stdcall -private -syscall ZwSetLdtEntries(long int64 long int64) NtSetLdtEntries
@ stub ZwSetLowEventPair
...
...
@@ -1383,7 +1383,7 @@
@ stdcall -private -syscall ZwSetSystemTime(ptr ptr) NtSetSystemTime
@ stdcall ZwSetThreadExecutionState(long ptr) NtSetThreadExecutionState
@ stdcall -private -syscall ZwSetTimer(long ptr ptr ptr long long ptr) NtSetTimer
@ stdcall -private ZwSetTimerResolution(long long ptr) NtSetTimerResolution
@ stdcall -private
-syscall
ZwSetTimerResolution(long long ptr) NtSetTimerResolution
# @ stub ZwSetUuidSeed
@ stdcall -private -syscall ZwSetValueKey(long ptr long long ptr long) NtSetValueKey
@ stdcall -private -syscall ZwSetVolumeInformationFile(long ptr ptr long long) NtSetVolumeInformationFile
...
...
dlls/ntdll/sync.c
View file @
e7c60141
...
...
@@ -37,8 +37,6 @@
#include "wine/debug.h"
#include "ntdll_misc.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
sync
);
/* creates a struct security_descriptor and contained information in one contiguous piece of memory */
NTSTATUS
alloc_object_attributes
(
const
OBJECT_ATTRIBUTES
*
attr
,
struct
object_attributes
**
ret
,
data_size_t
*
ret_len
)
...
...
@@ -122,37 +120,6 @@ NTSTATUS alloc_object_attributes( const OBJECT_ATTRIBUTES *attr, struct object_a
return
STATUS_SUCCESS
;
}
/*
* Timers
*/
/******************************************************************************
* NtQueryTimerResolution [NTDLL.@]
*/
NTSTATUS
WINAPI
NtQueryTimerResolution
(
OUT
ULONG
*
min_resolution
,
OUT
ULONG
*
max_resolution
,
OUT
ULONG
*
current_resolution
)
{
FIXME
(
"(%p,%p,%p), stub!
\n
"
,
min_resolution
,
max_resolution
,
current_resolution
);
return
STATUS_NOT_IMPLEMENTED
;
}
/******************************************************************************
* NtSetTimerResolution [NTDLL.@]
*/
NTSTATUS
WINAPI
NtSetTimerResolution
(
IN
ULONG
resolution
,
IN
BOOLEAN
set_resolution
,
OUT
ULONG
*
current_resolution
)
{
FIXME
(
"(%u,%u,%p), stub!
\n
"
,
resolution
,
set_resolution
,
current_resolution
);
return
STATUS_NOT_IMPLEMENTED
;
}
/******************************************************************
* RtlRunOnceInitialize (NTDLL.@)
...
...
dlls/ntdll/unix/sync.c
View file @
e7c60141
...
...
@@ -1424,6 +1424,36 @@ NTSTATUS WINAPI NtSetSystemTime( const LARGE_INTEGER *new, LARGE_INTEGER *old )
}
/***********************************************************************
* NtQueryTimerResolution (NTDLL.@)
*/
NTSTATUS
WINAPI
NtQueryTimerResolution
(
ULONG
*
min_res
,
ULONG
*
max_res
,
ULONG
*
current_res
)
{
FIXME
(
"(%p,%p,%p), stub!
\n
"
,
min_res
,
max_res
,
current_res
);
return
STATUS_NOT_IMPLEMENTED
;
}
/***********************************************************************
* NtSetTimerResolution (NTDLL.@)
*/
NTSTATUS
WINAPI
NtSetTimerResolution
(
ULONG
res
,
BOOLEAN
set
,
ULONG
*
current_res
)
{
FIXME
(
"(%u,%u,%p), stub!
\n
"
,
res
,
set
,
current_res
);
return
STATUS_NOT_IMPLEMENTED
;
}
/******************************************************************************
* NtSetIntervalProfile (NTDLL.@)
*/
NTSTATUS
WINAPI
NtSetIntervalProfile
(
ULONG
interval
,
KPROFILE_SOURCE
source
)
{
FIXME
(
"%u,%d
\n
"
,
interval
,
source
);
return
STATUS_SUCCESS
;
}
/******************************************************************************
* NtGetTickCount (NTDLL.@)
*/
...
...
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