Commit 7248d47f authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Convert DOS (MZ) binary loader to the new DOS process model.

parent 2325ee40
...@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment