Alexandre Julliard : kernel32: Remove support for vm86 exceptions.

Alexandre Julliard julliard at winehq.org
Fri Feb 2 12:24:38 CST 2018


Module: wine
Branch: master
Commit: d8454f9231116f10b4e969d052c6ae6049b5c762
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d8454f9231116f10b4e969d052c6ae6049b5c762

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Feb  2 12:53:21 2018 +0100

kernel32: Remove support for vm86 exceptions.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/kernel32/except.c   | 10 ----------
 include/wine/exception.h |  7 -------
 2 files changed, 17 deletions(-)

diff --git a/dlls/kernel32/except.c b/dlls/kernel32/except.c
index 1a1521a..2a9f0f1 100644
--- a/dlls/kernel32/except.c
+++ b/dlls/kernel32/except.c
@@ -143,16 +143,6 @@ static int format_exception_msg( const EXCEPTION_POINTERS *ptr, char *buffer, in
     case EXCEPTION_WINE_ASSERTION:
         len = snprintf( buffer, size, "Assertion failed" );
         break;
-    case EXCEPTION_VM86_INTx:
-        len = snprintf( buffer, size, "Unhandled interrupt %02lx in vm86 mode",
-                 rec->ExceptionInformation[0]);
-        break;
-    case EXCEPTION_VM86_STI:
-        len = snprintf( buffer, size, "Unhandled sti in vm86 mode");
-        break;
-    case EXCEPTION_VM86_PICRETURN:
-        len = snprintf( buffer, size, "Unhandled PIC return in vm86 mode");
-        break;
     default:
         len = snprintf( buffer, size, "Unhandled exception 0x%08x in thread %x", rec->ExceptionCode, GetCurrentThreadId());
         break;
diff --git a/include/wine/exception.h b/include/wine/exception.h
index 3b1a3cf..e93968f 100644
--- a/include/wine/exception.h
+++ b/include/wine/exception.h
@@ -303,13 +303,6 @@ static inline EXCEPTION_REGISTRATION_RECORD *__wine_get_frame(void)
 #define EXCEPTION_WINE_STUB       0x80000100  /* stub entry point called */
 #define EXCEPTION_WINE_ASSERTION  0x80000101  /* assertion failed */
 
-/* unhandled return status from vm86 mode */
-#define EXCEPTION_VM86_INTx       0x80000110
-#define EXCEPTION_VM86_STI        0x80000111
-#define EXCEPTION_VM86_PICRETURN  0x80000112
-
-extern void __wine_enter_vm86( CONTEXT *context );
-
 #ifdef __cplusplus
 }
 #endif




More information about the wine-cvs mailing list