reactos/ntoskrnl/ke/amd64
Timo Kreuzer 3021c2d571 [NTOS:MM] Pass page fault code to MmAccessFault
Note: before we had a BOOLEAN parameter called StoreInstruction, but in reality it was not specifying whether the fault was from a store store instruction, but whether it was an access violation rather than a page-not-present fault. On x86 without PAE there are only 2 kinds of access violations: (1) Access of a kernel mode page from user mode, which is handled early and (2) access of a read-only (or COW) page with a writing instruction. Therefore we could get away with this, even though it relied on the wrong assumption that a fault, which was not a page-not-present-fault, was automatically a write access. This commit only changes one thing: we pass the full fault-code to MmAccessFault and handle the rest from there in exactly the same way as before. More changes are coming to make things clear.
2018-01-06 18:20:24 +01:00
..
boot.S
context.c Amd64/misc 64bit fixes (#236) 2018-01-01 12:07:50 +01:00
cpu.c Amd64/misc 64bit fixes (#236) 2018-01-01 12:07:50 +01:00
ctxswitch.S
except.c
interrupt.c
irql.c
kiinit.c
krnlinit.c
spinlock.c
stubs.c
thrdini.c
trap.S [NTOS:MM] Pass page fault code to MmAccessFault 2018-01-06 18:20:24 +01:00