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
d94a4e46
Commit
d94a4e46
authored
Mar 25, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
krnl386: Get rid of DOS EMS support.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
88cc1fb8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
23 deletions
+1
-23
Makefile.in
dlls/krnl386.exe16/Makefile.in
+0
-1
dosexe.h
dlls/krnl386.exe16/dosexe.h
+0
-17
int21.c
dlls/krnl386.exe16/int21.c
+0
-1
int67.c
dlls/krnl386.exe16/int67.c
+0
-0
interrupts.c
dlls/krnl386.exe16/interrupts.c
+1
-4
No files found.
dlls/krnl386.exe16/Makefile.in
View file @
d94a4e46
...
...
@@ -20,7 +20,6 @@ C_SRCS = \
int26.c
\
int2f.c
\
int31.c
\
int67.c
\
interrupts.c
\
ioports.c
\
kernel.c
\
...
...
dlls/krnl386.exe16/dosexe.h
View file @
d94a4e46
...
...
@@ -36,7 +36,6 @@
#define DOSVM_RELAY_DATA_SIZE 4096
typedef
void
(
*
DOSRELAY
)(
CONTEXT
*
,
void
*
);
typedef
void
(
WINAPI
*
RMCBPROC
)(
CONTEXT
*
);
typedef
void
(
WINAPI
*
INTPROC
)(
CONTEXT
*
);
extern
WORD
DOSVM_psp
DECLSPEC_HIDDEN
;
/* psp of current DOS task */
...
...
@@ -44,20 +43,8 @@ extern WORD int16_sel DECLSPEC_HIDDEN;
extern
WORD
relay_code_sel
DECLSPEC_HIDDEN
;
extern
WORD
relay_data_sel
DECLSPEC_HIDDEN
;
/*
* Declare some CONTEXT.EFlags bits.
* IF_MASK is only pushed into real mode stack.
*/
#define V86_FLAG 0x00020000
#define TF_MASK 0x00000100
#define IF_MASK 0x00000200
#define VIF_MASK 0x00080000
#define VIP_MASK 0x00100000
#define ADD_LOWORD(dw,val) ((dw) = ((dw) & 0xffff0000) | LOWORD((DWORD)(dw)+(val)))
#define PTR_REAL_TO_LIN(seg,off) ((void*)(((unsigned int)(seg) << 4) + LOWORD(off)))
/* NOTE: Interrupts might get called from four modes: real mode, 16-bit,
* 32-bit segmented (DPMI32) and 32-bit linear (via DeviceIoControl).
* For automatic conversion of pointer
...
...
@@ -257,10 +244,6 @@ extern void WINAPI DOSVM_Int2fHandler(CONTEXT*) DECLSPEC_HIDDEN;
/* int31.c */
extern
void
WINAPI
DOSVM_Int31Handler
(
CONTEXT
*
)
DECLSPEC_HIDDEN
;
/* int67.c */
extern
void
WINAPI
DOSVM_Int67Handler
(
CONTEXT
*
)
DECLSPEC_HIDDEN
;
extern
void
EMS_Ioctl_Handler
(
CONTEXT
*
)
DECLSPEC_HIDDEN
;
/* interrupts.c */
extern
void
__wine_call_int_handler
(
CONTEXT
*
,
BYTE
)
DECLSPEC_HIDDEN
;
extern
BOOL
DOSVM_EmulateInterruptPM
(
CONTEXT
*
,
BYTE
)
DECLSPEC_HIDDEN
;
...
...
dlls/krnl386.exe16/int21.c
View file @
d94a4e46
...
...
@@ -278,7 +278,6 @@ static void INT21_IoctlHPScanHandler( CONTEXT * );
static
struct
magic_device
magic_devices
[]
=
{
{
{
's'
,
'c'
,
's'
,
'i'
,
'm'
,
'g'
,
'r'
,
'$'
,
0
},
NULL
,
{
{
0
,
0
}
},
INT21_IoctlScsiMgrHandler
},
{
{
'e'
,
'm'
,
'm'
,
'x'
,
'x'
,
'x'
,
'x'
,
'0'
,
0
},
NULL
,
{
{
0
,
0
}
},
EMS_Ioctl_Handler
},
{
{
'h'
,
'p'
,
's'
,
'c'
,
'a'
,
'n'
,
0
},
NULL
,
{
{
0
,
0
}
},
INT21_IoctlHPScanHandler
},
};
...
...
dlls/krnl386.exe16/int67.c
deleted
100644 → 0
View file @
88cc1fb8
This diff is collapsed.
Click to expand it.
dlls/krnl386.exe16/interrupts.c
View file @
d94a4e46
...
...
@@ -72,10 +72,7 @@ static const INTPROC DOSVM_VectorsBuiltin[] =
/* 50 */
0
,
0
,
0
,
0
,
/* 54 */
0
,
0
,
0
,
0
,
/* 58 */
0
,
0
,
0
,
0
,
/* 5C */
DOSVM_Int5cHandler
,
0
,
0
,
0
,
/* 60 */
0
,
0
,
0
,
0
,
/* 64 */
0
,
0
,
0
,
DOSVM_Int67Handler
,
/* 68 */
DOSVM_DefaultHandler
/* 5C */
DOSVM_Int5cHandler
};
...
...
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