Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kingjinni
wine
Commits
e57e8856
Commit
e57e8856
authored
1 year ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
kernelbase: Export the extended context functions on all platforms.
parent
f13a6dee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dlls/kernel32/kernel32.spec
+3
-3
3 additions, 3 deletions
dlls/kernel32/kernel32.spec
dlls/kernelbase/kernelbase.spec
+3
-3
3 additions, 3 deletions
dlls/kernelbase/kernelbase.spec
dlls/kernelbase/memory.c
+21
-12
21 additions, 12 deletions
dlls/kernelbase/memory.c
with
27 additions
and
18 deletions
dlls/kernel32/kernel32.spec
+
3
−
3
View file @
e57e8856
...
...
@@ -256,7 +256,7 @@
@ stdcall -import ConvertThreadToFiber(ptr)
@ stdcall -import ConvertThreadToFiberEx(ptr long)
@ stdcall ConvertToGlobalHandle(long)
@ stdcall -import
-arch=i386,x86_64
CopyContext(ptr long ptr)
@ stdcall -import CopyContext(ptr long ptr)
@ stdcall CopyFileA(str str long)
@ stdcall CopyFileExA (str str ptr ptr ptr long)
@ stdcall -import CopyFileExW(wstr wstr ptr ptr ptr long)
...
...
@@ -962,8 +962,8 @@
@ stdcall InitOnceExecuteOnce(ptr ptr ptr ptr) kernelbase.InitOnceExecuteOnce
@ stdcall InitOnceInitialize(ptr) NTDLL.RtlRunOnceInitialize
@ stdcall InitializeConditionVariable(ptr) NTDLL.RtlInitializeConditionVariable
@ stdcall -import
-arch=i386,x86_64
InitializeContext(ptr long ptr ptr)
@ stdcall -import
-arch=i386,x86_64
InitializeContext2(ptr long ptr ptr int64)
@ stdcall -import InitializeContext(ptr long ptr ptr)
@ stdcall -import InitializeContext2(ptr long ptr ptr int64)
@ stdcall InitializeCriticalSection(ptr) NTDLL.RtlInitializeCriticalSection
@ stdcall -import InitializeCriticalSectionAndSpinCount(ptr long)
@ stdcall -import InitializeCriticalSectionEx(ptr long long)
...
...
This diff is collapsed.
Click to expand it.
dlls/kernelbase/kernelbase.spec
+
3
−
3
View file @
e57e8856
...
...
@@ -167,7 +167,7 @@
@ stdcall ConvertThreadToFiber(ptr)
@ stdcall ConvertThreadToFiberEx(ptr long)
@ stdcall ConvertToAutoInheritPrivateObjectSecurity(ptr ptr ptr ptr long ptr)
@ stdcall
-arch=i386,x86_64
CopyContext(ptr long ptr)
@ stdcall CopyContext(ptr long ptr)
# @ stub CopyFile2
@ stdcall CopyFileExW(wstr wstr ptr ptr ptr long)
@ stdcall CopyFileW(wstr wstr long)
...
...
@@ -831,8 +831,8 @@
@ stdcall InitOnceInitialize(ptr) ntdll.RtlRunOnceInitialize
@ stdcall InitializeAcl(ptr long long)
@ stdcall InitializeConditionVariable(ptr) ntdll.RtlInitializeConditionVariable
@ stdcall
-arch=i386,x86_64
InitializeContext(ptr long ptr ptr)
@ stdcall
-arch=i386,x86_64
InitializeContext2(ptr long ptr ptr int64)
@ stdcall InitializeContext(ptr long ptr ptr)
@ stdcall InitializeContext2(ptr long ptr ptr int64)
@ stdcall InitializeCriticalSection(ptr) ntdll.RtlInitializeCriticalSection
@ stdcall InitializeCriticalSectionAndSpinCount(ptr long)
@ stdcall InitializeCriticalSectionEx(ptr long long)
...
...
This diff is collapsed.
Click to expand it.
dlls/kernelbase/memory.c
+
21
−
12
View file @
e57e8856
...
...
@@ -1453,17 +1453,6 @@ BOOL WINAPI DECLSPEC_HOTPATCH QueryVirtualMemoryInformation( HANDLE process, con
***********************************************************************/
#if defined(__i386__) || defined(__x86_64__)
/***********************************************************************
* GetEnabledXStateFeatures (kernelbase.@)
*/
DWORD64
WINAPI
GetEnabledXStateFeatures
(
void
)
{
TRACE
(
"
\n
"
);
return
RtlGetEnabledExtendedFeatures
(
~
(
ULONG64
)
0
);
}
/***********************************************************************
* InitializeContext2 (kernelbase.@)
*/
...
...
@@ -1519,10 +1508,19 @@ BOOL WINAPI CopyContext( CONTEXT *dst, DWORD context_flags, CONTEXT *src )
{
return
set_ntstatus
(
RtlCopyContext
(
dst
,
context_flags
,
src
));
}
#endif
#if defined(__x86_64__)
/***********************************************************************
* GetEnabledXStateFeatures (kernelbase.@)
*/
DWORD64
WINAPI
GetEnabledXStateFeatures
(
void
)
{
TRACE
(
"
\n
"
);
return
RtlGetEnabledExtendedFeatures
(
~
(
ULONG64
)
0
);
}
/***********************************************************************
* LocateXStateFeature (kernelbase.@)
*/
...
...
@@ -1583,7 +1581,18 @@ BOOL WINAPI GetXStateFeaturesMask( CONTEXT *context, DWORD64 *feature_mask )
return
TRUE
;
}
#elif defined(__i386__)
/***********************************************************************
* GetEnabledXStateFeatures (kernelbase.@)
*/
DWORD64
WINAPI
GetEnabledXStateFeatures
(
void
)
{
TRACE
(
"
\n
"
);
return
RtlGetEnabledExtendedFeatures
(
~
(
ULONG64
)
0
);
}
/***********************************************************************
* LocateXStateFeature (kernelbase.@)
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment