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
73d1b89a
Commit
73d1b89a
authored
Feb 05, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Get rid of the vm86 structure in the TEB.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
96c77a8c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
18 deletions
+0
-18
ntdll_misc.h
dlls/ntdll/ntdll_misc.h
+0
-6
winternl.h
include/winternl.h
+0
-12
No files found.
dlls/ntdll/ntdll_misc.h
View file @
73d1b89a
...
...
@@ -226,9 +226,6 @@ struct debug_info
/* thread private data, stored in NtCurrentTeb()->GdiTebBatch */
struct
ntdll_thread_data
{
#ifdef __i386__
WINE_VM86_TEB_INFO
__vm86
;
/* FIXME: placeholder for vm86 data from struct x86_thread_data */
#endif
struct
debug_info
*
debug_info
;
/* info for debugstr functions */
void
*
start_stack
;
/* stack for thread startup */
int
request_fd
;
/* fd for sending server requests */
...
...
@@ -239,9 +236,6 @@ struct ntdll_thread_data
};
C_ASSERT
(
sizeof
(
struct
ntdll_thread_data
)
<=
sizeof
(((
TEB
*
)
0
)
->
GdiTebBatch
)
);
#ifdef __i386__
C_ASSERT
(
offsetof
(
TEB
,
GdiTebBatch
)
+
offsetof
(
struct
ntdll_thread_data
,
__vm86
)
==
0x1fc
);
#endif
static
inline
struct
ntdll_thread_data
*
ntdll_get_thread_data
(
void
)
{
...
...
include/winternl.h
View file @
73d1b89a
...
...
@@ -2913,18 +2913,6 @@ static inline PLIST_ENTRY RemoveTailList(PLIST_ENTRY le)
#ifdef __WINESRC__
/* FIXME: private structure for vm86 mode, stored in teb->GdiTebBatch */
typedef
struct
{
DWORD
dpmi_vif
;
DWORD
vm86_pending
;
}
WINE_VM86_TEB_INFO
;
static
inline
WINE_VM86_TEB_INFO
*
get_vm86_teb_info
(
void
)
{
return
(
WINE_VM86_TEB_INFO
*
)
&
NtCurrentTeb
()
->
GdiTebBatch
;
}
/* The thread information for 16-bit threads */
/* NtCurrentTeb()->SubSystemTib points to this */
typedef
struct
...
...
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