From: Pali Rohár pali@kernel.org
Windows provides DPMI host according to DPMI version 0.9.
Add cases for all missing DPMI 0.9 function calls into wine code, set Carry flag which indicates DPMI failure and mark them with appropriate FIXME comments.
Signed-off-by: Pali Rohár pali@kernel.org --- dlls/krnl386.exe16/int31.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
diff --git a/dlls/krnl386.exe16/int31.c b/dlls/krnl386.exe16/int31.c index 0d13763451c..fa7951946ad 100644 --- a/dlls/krnl386.exe16/int31.c +++ b/dlls/krnl386.exe16/int31.c @@ -639,6 +639,31 @@ void WINAPI DOSVM_Int31Handler( CONTEXT *context ) TRACE( "Get Virtual Interrupt State - not supported\n" ); break;
+ case 0x0a00: /* Get Vendor-Specific API Entry Point */ + FIXME( "Get Vendor-Specific API Entry Point - unimplemented\n" ); + SET_CFLAG( context ); + break; + + case 0x0b00: /* Set Debug Watchpoint */ + FIXME( "Set Debug Watchpoint - unimplemented\n" ); + SET_CFLAG( context ); + break; + + case 0x0b01: /* Clear Debug Watchpoint */ + FIXME( "Clear Debug Watchpoint - unimplemented\n" ); + SET_CFLAG( context ); + break; + + case 0x0b02: /* Get State of Debug Watchpoint */ + FIXME( "Get State of Debug Watchpoint - unimplemented\n" ); + SET_CFLAG( context ); + break; + + case 0x0b03: /* Reset Debug Watchpoint */ + FIXME( "Reset Debug Watchpoint - unimplemented\n" ); + SET_CFLAG( context ); + break; + case 0x0e00: /* Get Coprocessor Status (1.0) */ /* * Return status in AX bits: