[SOFT386]

Use SOFT386_EXCEPTIONS instead of INT for the ExceptionCode parameter in Soft386ExceptionWithErrorCode and Soft386Exception.

svn path=/branches/ntvdm/; revision=60196
This commit is contained in:
Hermès Bélusca-Maïto 2013-09-17 23:17:50 +00:00
parent f9dd2776ab
commit 9620dafb0c
3 changed files with 4 additions and 5 deletions

View file

@ -20,8 +20,7 @@
/* PRIVATE FUNCTIONS **********************************************************/ /* PRIVATE FUNCTIONS **********************************************************/
static static inline
inline
ULONG ULONG
Soft386GetPageTableEntry(PSOFT386_STATE State, Soft386GetPageTableEntry(PSOFT386_STATE State,
ULONG VirtualAddress) ULONG VirtualAddress)
@ -434,7 +433,7 @@ Soft386InterruptInternal(PSOFT386_STATE State,
VOID VOID
FASTCALL FASTCALL
Soft386ExceptionWithErrorCode(PSOFT386_STATE State, Soft386ExceptionWithErrorCode(PSOFT386_STATE State,
INT ExceptionCode, SOFT386_EXCEPTIONS ExceptionCode,
ULONG ErrorCode) ULONG ErrorCode)
{ {
SOFT386_IDT_ENTRY IdtEntry; SOFT386_IDT_ENTRY IdtEntry;

View file

@ -119,7 +119,7 @@ FASTCALL
Soft386ExceptionWithErrorCode Soft386ExceptionWithErrorCode
( (
PSOFT386_STATE State, PSOFT386_STATE State,
INT ExceptionCode, SOFT386_EXCEPTIONS ExceptionCode,
ULONG ErrorCode ULONG ErrorCode
); );

View file

@ -11,7 +11,7 @@
FORCEINLINE FORCEINLINE
VOID VOID
Soft386Exception(PSOFT386_STATE State, Soft386Exception(PSOFT386_STATE State,
INT ExceptionCode) SOFT386_EXCEPTIONS ExceptionCode)
{ {
/* Call the internal function */ /* Call the internal function */
Soft386ExceptionWithErrorCode(State, ExceptionCode, 0); Soft386ExceptionWithErrorCode(State, ExceptionCode, 0);