mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
3021c2d571
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. |
||
---|---|---|
.. | ||
boot.s | ||
cpu.c | ||
ctxswtch.s | ||
exp.c | ||
interrupt.c | ||
ke_i.h | ||
kiinit.c | ||
stubs_asm.s | ||
thrdini.c | ||
trap.s | ||
trapc.c | ||
usercall.c |