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
9b2060af
Commit
9b2060af
authored
Jul 23, 2000
by
Ove Kaaven
Committed by
Alexandre Julliard
Jul 23, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the V86BASE macro to call DOSMEM_MemoryBase() instead of using
the ugly Dr7 hack.
parent
eef1fb8f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
4 deletions
+1
-4
signal_i386.c
dlls/ntdll/signal_i386.c
+0
-1
winnt.h
include/winnt.h
+1
-1
dosvm.c
loader/dos/dosvm.c
+0
-1
dpmi.c
msdos/dpmi.c
+0
-1
No files found.
dlls/ntdll/signal_i386.c
View file @
9b2060af
...
...
@@ -378,7 +378,6 @@ static void save_context( CONTEXT *context, const SIGCONTEXT *sigcontext )
#else
context
->
SegGs
=
__get_gs
();
#endif
if
(
ISV86
(
context
))
V86BASE
(
context
)
=
(
DWORD
)
DOSMEM_MemoryBase
(
0
);
}
...
...
include/winnt.h
View file @
9b2060af
...
...
@@ -714,7 +714,7 @@ typedef HANDLE *PHANDLE;
#define RESET_ZFLAG(context) (EFL_reg(context) &= ~0x0040)
#define ISV86(context) (EFL_reg(context) & 0x00020000)
#define V86BASE(context)
((context)->Dr7)
/* ugly */
#define V86BASE(context)
DOSMEM_MemoryBase(0)
/* Macros to retrieve the current context */
...
...
loader/dos/dosvm.c
View file @
9b2060af
...
...
@@ -250,7 +250,6 @@ static int DOSVM_Process( LPDOSTASK lpDosTask, int fn, int sig,
if
(
ret
)
return
0
;
ret
=
0
;
}
(
void
*
)
V86BASE
(
&
context
)
=
lpDosTask
->
img
;
#ifdef TRY_PICRETURN
if
(
VM86
->
vm86plus
.
force_return_for_pic
)
{
SET_PEND
(
&
context
);
...
...
msdos/dpmi.c
View file @
9b2060af
...
...
@@ -157,7 +157,6 @@ static void INT_GetRealModeContext( REALMODECALL *call, CONTEXT86 *context )
FS_reg
(
context
)
=
call
->
fs
;
GS_reg
(
context
)
=
call
->
gs
;
SS_reg
(
context
)
=
call
->
ss
;
V86BASE
(
context
)
=
(
DWORD
)
DOSMEM_MemoryBase
(
0
);
}
...
...
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