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
971480aa
Commit
971480aa
authored
Dec 01, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64: Implement Wow64PrepareForException().
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8390af0a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
syscall.c
dlls/wow64/syscall.c
+13
-0
wow64.spec
dlls/wow64/wow64.spec
+1
-1
No files found.
dlls/wow64/syscall.c
View file @
971480aa
...
...
@@ -79,6 +79,7 @@ static const SYSTEM_SERVICE_TABLE *psdwhwin32;
static
void
*
(
WINAPI
*
pBTCpuGetBopCode
)(
void
);
static
void
(
WINAPI
*
pBTCpuProcessInit
)(
void
);
static
void
(
WINAPI
*
pBTCpuSimulate
)(
void
);
static
NTSTATUS
(
WINAPI
*
pBTCpuResetToConsistentState
)(
EXCEPTION_POINTERS
*
);
void
*
dummy
=
RtlUnwind
;
...
...
@@ -534,6 +535,7 @@ static DWORD WINAPI process_init( RTL_RUN_ONCE *once, void *param, void **contex
module
=
load_64bit_module
(
get_cpu_dll_name
()
);
GET_PTR
(
BTCpuGetBopCode
);
GET_PTR
(
BTCpuProcessInit
);
GET_PTR
(
BTCpuResetToConsistentState
);
GET_PTR
(
BTCpuSimulate
);
module
=
load_64bit_module
(
L"wow64win.dll"
);
...
...
@@ -769,3 +771,14 @@ void WINAPI Wow64LdrpInitialize( CONTEXT *context )
thread_init
();
pBTCpuSimulate
();
}
/**********************************************************************
* Wow64PrepareForException (wow64.@)
*/
void
WINAPI
Wow64PrepareForException
(
EXCEPTION_RECORD
*
rec
,
CONTEXT
*
context
)
{
EXCEPTION_POINTERS
ptrs
=
{
rec
,
context
};
pBTCpuResetToConsistentState
(
&
ptrs
);
}
dlls/wow64/wow64.spec
View file @
971480aa
...
...
@@ -15,7 +15,7 @@
@ stub Wow64NotifyUnsimulateComplete
@ stdcall Wow64PassExceptionToGuest(ptr)
@ stub Wow64PrepareForDebuggerAttach
@ st
ub Wow64PrepareForException
@ st
dcall Wow64PrepareForException(ptr ptr)
@ stub Wow64RaiseException
@ stub Wow64ShallowThunkAllocObjectAttributes32TO64_FNC
@ stub Wow64ShallowThunkAllocSecurityQualityOfService32TO64_FNC
...
...
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