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
84f9d136
Commit
84f9d136
authored
Jul 03, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added error message for missing LDT support on i386.
parent
2e1f8fc8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
ldt.c
libs/wine/ldt.c
+5
-6
No files found.
libs/wine/ldt.c
View file @
84f9d136
...
...
@@ -200,9 +200,7 @@ static int internal_set_entry( unsigned short sel, const LDT_ENTRY *entry )
if
((
ret
=
modify_ldt
(
0x11
,
&
ldt_info
,
sizeof
(
ldt_info
)))
<
0
)
perror
(
"modify_ldt"
);
}
#endif
/* linux */
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
{
LDT_ENTRY
entry_copy
=
*
entry
;
/* The kernel will only let us set LDTs with user priority level */
...
...
@@ -217,9 +215,7 @@ static int internal_set_entry( unsigned short sel, const LDT_ENTRY *entry )
exit
(
1
);
}
}
#endif
/* __NetBSD__ || __FreeBSD__ || __OpenBSD__ */
#if defined(__svr4__) || defined(_SCO_DS)
#elif defined(__svr4__) || defined(_SCO_DS)
{
struct
ssd
ldt_mod
;
ldt_mod
.
sel
=
sel
;
...
...
@@ -229,6 +225,9 @@ static int internal_set_entry( unsigned short sel, const LDT_ENTRY *entry )
ldt_mod
.
acc2
=
entry
->
HighWord
.
Bytes
.
Flags2
>>
4
;
if
((
ret
=
sysi86
(
SI86DSCR
,
&
ldt_mod
))
==
-
1
)
perror
(
"sysi86"
);
}
#else
fprintf
(
stderr
,
"No LDT support on this platform
\n
"
);
exit
(
1
);
#endif
#endif
/* __i386__ */
...
...
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