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
06dc0473
Commit
06dc0473
authored
Feb 10, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64: Call the thread init entry point in the CPU backend.
parent
f555ee3b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
syscall.c
dlls/wow64/syscall.c
+3
-0
No files found.
dlls/wow64/syscall.c
View file @
06dc0473
...
...
@@ -96,6 +96,7 @@ static void * (WINAPI *pBTCpuGetBopCode)(void);
static
NTSTATUS
(
WINAPI
*
pBTCpuGetContext
)(
HANDLE
,
HANDLE
,
void
*
,
void
*
);
static
void
(
WINAPI
*
pBTCpuProcessInit
)(
void
);
static
NTSTATUS
(
WINAPI
*
pBTCpuSetContext
)(
HANDLE
,
HANDLE
,
void
*
,
void
*
);
static
void
(
WINAPI
*
pBTCpuThreadInit
)(
void
);
static
void
(
WINAPI
*
pBTCpuSimulate
)(
void
);
static
NTSTATUS
(
WINAPI
*
pBTCpuResetToConsistentState
)(
EXCEPTION_POINTERS
*
);
static
void
*
(
WINAPI
*
p__wine_get_unix_opcode
)(
void
);
...
...
@@ -771,6 +772,7 @@ static DWORD WINAPI process_init( RTL_RUN_ONCE *once, void *param, void **contex
GET_PTR
(
BTCpuGetBopCode
);
GET_PTR
(
BTCpuGetContext
);
GET_PTR
(
BTCpuProcessInit
);
GET_PTR
(
BTCpuThreadInit
);
GET_PTR
(
BTCpuResetToConsistentState
);
GET_PTR
(
BTCpuSetContext
);
GET_PTR
(
BTCpuSimulate
);
...
...
@@ -802,6 +804,7 @@ static void thread_init(void)
void
*
cpu_area_ctx
;
RtlWow64GetCurrentCpuArea
(
NULL
,
&
cpu_area_ctx
,
NULL
);
if
(
pBTCpuThreadInit
)
pBTCpuThreadInit
();
/* update initial context to jump to 32-bit LdrInitializeThunk (cf. 32-bit call_init_thunk) */
switch
(
current_machine
)
...
...
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