2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>

* ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Use exception code
	STATUS_ACCESS_VIOLATION for exception 14.

svn path=/trunk/; revision=4315
This commit is contained in:
Casper Hornstrup 2003-03-16 13:25:47 +00:00
parent 43b6dc2a24
commit 5f81b22161
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Use exception code
STATUS_ACCESS_VIOLATION for exception 14.
2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/fs/util.c (FsRtlGetFileSize): Implement.

View file

@ -163,6 +163,7 @@ KiKernelTrapHandler(PKTRAP_FRAME Tf, ULONG ExceptionNr, PVOID Cr2)
if (ExceptionNr == 14)
{
Er.ExceptionCode = STATUS_ACCESS_VIOLATION;
Er.NumberParameters = 2;
Er.ExceptionInformation[0] = Tf->ErrorCode & 0x1;
Er.ExceptionInformation[1] = (ULONG)Cr2;