mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 05:00:27 +00:00
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:
parent
43b6dc2a24
commit
5f81b22161
2 changed files with 6 additions and 0 deletions
|
@ -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>
|
2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||||
|
|
||||||
* ntoskrnl/fs/util.c (FsRtlGetFileSize): Implement.
|
* ntoskrnl/fs/util.c (FsRtlGetFileSize): Implement.
|
||||||
|
|
|
@ -163,6 +163,7 @@ KiKernelTrapHandler(PKTRAP_FRAME Tf, ULONG ExceptionNr, PVOID Cr2)
|
||||||
|
|
||||||
if (ExceptionNr == 14)
|
if (ExceptionNr == 14)
|
||||||
{
|
{
|
||||||
|
Er.ExceptionCode = STATUS_ACCESS_VIOLATION;
|
||||||
Er.NumberParameters = 2;
|
Er.NumberParameters = 2;
|
||||||
Er.ExceptionInformation[0] = Tf->ErrorCode & 0x1;
|
Er.ExceptionInformation[0] = Tf->ErrorCode & 0x1;
|
||||||
Er.ExceptionInformation[1] = (ULONG)Cr2;
|
Er.ExceptionInformation[1] = (ULONG)Cr2;
|
||||||
|
|
Loading…
Reference in a new issue