[SOFT386]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 17 Sep 2013 23:17:50 +0000 (23:17 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 17 Sep 2013 23:17:50 +0000 (23:17 +0000)
Use SOFT386_EXCEPTIONS instead of INT for the ExceptionCode parameter in Soft386ExceptionWithErrorCode and Soft386Exception.

svn path=/branches/ntvdm/; revision=60196

lib/soft386/common.c
lib/soft386/common.h
lib/soft386/common.inl

index b8e9514..f8127aa 100644 (file)
@@ -20,8 +20,7 @@
 
 /* PRIVATE FUNCTIONS **********************************************************/
 
-static
-inline
+static inline
 ULONG
 Soft386GetPageTableEntry(PSOFT386_STATE State,
                          ULONG VirtualAddress)
@@ -434,7 +433,7 @@ Soft386InterruptInternal(PSOFT386_STATE State,
 VOID
 FASTCALL
 Soft386ExceptionWithErrorCode(PSOFT386_STATE State,
-                              INT ExceptionCode,
+                              SOFT386_EXCEPTIONS ExceptionCode,
                               ULONG ErrorCode)
 {
     SOFT386_IDT_ENTRY IdtEntry;
index 8e16978..4b3e9db 100644 (file)
@@ -119,7 +119,7 @@ FASTCALL
 Soft386ExceptionWithErrorCode
 (
     PSOFT386_STATE State,
-    INT ExceptionCode,
+    SOFT386_EXCEPTIONS ExceptionCode,
     ULONG ErrorCode
 );
 
index b09ea1f..0ec84d1 100644 (file)
@@ -11,7 +11,7 @@
 FORCEINLINE
 VOID
 Soft386Exception(PSOFT386_STATE State,
-                 INT ExceptionCode)
+                 SOFT386_EXCEPTIONS ExceptionCode)
 {
     /* Call the internal function */
     Soft386ExceptionWithErrorCode(State, ExceptionCode, 0);