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
ed89fe7b
Commit
ed89fe7b
authored
Mar 06, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hardcode set_thread_area syscall number to avoid trouble with broken
headers.
parent
f3a73ef7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
ldt.c
library/ldt.c
+1
-5
No files found.
library/ldt.c
View file @
ed89fe7b
...
...
@@ -53,10 +53,6 @@ struct modify_ldt_s
unsigned
int
useable
:
1
;
};
#ifndef SYS_set_thread_area
#define SYS_set_thread_area 243
#endif
static
inline
void
fill_modify_ldt_struct
(
struct
modify_ldt_s
*
ptr
,
const
LDT_ENTRY
*
entry
)
{
ptr
->
base_addr
=
(
unsigned
long
)
wine_ldt_get_base
(
entry
);
...
...
@@ -94,7 +90,7 @@ static inline int set_thread_area( struct modify_ldt_s *ptr )
"int $0x80
\n\t
"
"popl %%ebx"
:
"=a"
(
res
)
:
"0"
(
SYS_set_thread_area
)
,
"r"
(
ptr
)
);
:
"0"
(
243
)
/* SYS_set_thread_area */
,
"r"
(
ptr
)
);
if
(
res
>=
0
)
return
res
;
errno
=
-
res
;
return
-
1
;
...
...
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