Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
96c77a8c
Commit
96c77a8c
authored
Feb 05, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Stop building the DPMI event check routine.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
526b2452
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
52 deletions
+0
-52
relay.c
tools/winebuild/relay.c
+0
-52
No files found.
tools/winebuild/relay.c
View file @
96c77a8c
...
...
@@ -36,8 +36,6 @@
/* fix this if the x86_thread_data structure is changed */
#define GS_OFFSET 0x1d8
/* FIELD_OFFSET(TEB,SystemReserved2) + FIELD_OFFSET(struct x86_thread_data,gs) */
#define DPMI_VIF_OFFSET (0x1fc + 0)
/* FIELD_OFFSET(TEB,GdiTebBatch) + FIELD_OFFSET(WINE_VM86_TEB_INFO,dpmi_vif) */
#define VM86_PENDING_OFFSET (0x1fc + 4)
/* FIELD_OFFSET(TEB,GdiTebBatch) + FIELD_OFFSET(WINE_VM86_TEB_INFO,vm86_pending) */
static
void
function_header
(
const
char
*
name
)
{
...
...
@@ -749,53 +747,6 @@ static void BuildCallTo32CBClient( int isEx )
/*******************************************************************
* BuildPendingEventCheck
*
* Build a function that checks whether there are any
* pending DPMI events.
*
* Stack layout:
*
* (sp+12) long eflags
* (sp+6) long cs
* (sp+2) long ip
* (sp) word fs
*
* On entry to function, fs register points to a valid TEB.
* On exit from function, stack will be popped.
*/
static
void
BuildPendingEventCheck
(
void
)
{
/* Function header */
function_header
(
"DPMI_PendingEventCheck"
);
/* Check for pending events. */
output
(
"
\t
.byte 0x64
\n\t
testl $0xffffffff,(%d)
\n
"
,
VM86_PENDING_OFFSET
);
output
(
"
\t
je %s
\n
"
,
asm_name
(
"DPMI_PendingEventCheck_Cleanup"
)
);
output
(
"
\t
.byte 0x64
\n\t
testl $0xffffffff,(%d)
\n
"
,
DPMI_VIF_OFFSET
);
output
(
"
\t
je %s
\n
"
,
asm_name
(
"DPMI_PendingEventCheck_Cleanup"
)
);
/* Process pending events. */
output
(
"
\t
sti
\n
"
);
/* Start cleanup. Restore fs register. */
output
(
"%s
\n
"
,
asm_globl
(
"DPMI_PendingEventCheck_Cleanup"
)
);
output
(
"
\t
popw %%fs
\n
"
);
/* Return from function. */
output
(
"%s
\n
"
,
asm_globl
(
"DPMI_PendingEventCheck_Return"
)
);
output
(
"
\t
iret
\n
"
);
output_function_size
(
"DPMI_PendingEventCheck"
);
}
/*******************************************************************
* output_asm_relays16
*
* Build all the 16-bit relay callbacks
...
...
@@ -833,9 +784,6 @@ void output_asm_relays16(void)
/* CBClientThunkSLEx routine */
BuildCallTo32CBClient
(
1
);
/* Pending DPMI events check stub */
BuildPendingEventCheck
();
output
(
"%s
\n
"
,
asm_globl
(
"__wine_call16_end"
)
);
output_function_size
(
"__wine_spec_thunk_text_16"
);
...
...
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