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
7248d47f
Commit
7248d47f
authored
Jul 31, 2000
by
Ove Kaaven
Committed by
Alexandre Julliard
Jul 31, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert DOS (MZ) binary loader to the new DOS process model.
parent
2325ee40
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
81 additions
and
106 deletions
+81
-106
dosexe.h
include/dosexe.h
+1
-5
module.c
loader/dos/module.c
+80
-101
No files found.
include/dosexe.h
View file @
7248d47f
...
@@ -26,7 +26,6 @@ typedef struct _DOSTASK {
...
@@ -26,7 +26,6 @@ typedef struct _DOSTASK {
WORD
init_cs
,
init_ip
,
init_ss
,
init_sp
;
WORD
init_cs
,
init_ip
,
init_ss
,
init_sp
;
WORD
xms_seg
;
WORD
xms_seg
;
WORD
dpmi_seg
,
dpmi_sel
,
dpmi_flag
;
WORD
dpmi_seg
,
dpmi_sel
,
dpmi_flag
;
HMODULE16
hModule
;
char
mm_name
[
128
];
char
mm_name
[
128
];
int
mm_fd
;
int
mm_fd
;
HANDLE
hReadPipe
,
hXPipe
,
hConInput
,
hConOutput
;
HANDLE
hReadPipe
,
hXPipe
,
hConInput
,
hConOutput
;
...
@@ -62,10 +61,7 @@ extern LPDOSTASK MZ_AllocDPMITask( void );
...
@@ -62,10 +61,7 @@ extern LPDOSTASK MZ_AllocDPMITask( void );
#define V86_FLAG 0x00020000
#define V86_FLAG 0x00020000
extern
BOOL
MZ_CreateProcess
(
HANDLE
hFile
,
LPCSTR
filename
,
LPCSTR
cmdline
,
LPCSTR
env
,
extern
BOOL
MZ_LoadImage
(
HMODULE
module
,
HANDLE
hFile
,
LPCSTR
filename
);
LPSECURITY_ATTRIBUTES
psa
,
LPSECURITY_ATTRIBUTES
tsa
,
BOOL
inherit
,
DWORD
flags
,
LPSTARTUPINFOA
startup
,
LPPROCESS_INFORMATION
info
);
extern
LPDOSTASK
MZ_Current
(
void
);
extern
LPDOSTASK
MZ_Current
(
void
);
extern
int
DOSVM_Enter
(
CONTEXT86
*
context
);
extern
int
DOSVM_Enter
(
CONTEXT86
*
context
);
extern
void
DOSVM_Wait
(
int
read_pipe
,
HANDLE
hObject
);
extern
void
DOSVM_Wait
(
int
read_pipe
,
HANDLE
hObject
);
...
...
loader/dos/module.c
View file @
7248d47f
This diff is collapsed.
Click to expand it.
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