- Implement super-simple KeSweepICache that always flushes the entire instruction...
authorStefan Ginsberg <stefanginsberg@gmail.com>
Tue, 1 Sep 2015 23:45:48 +0000 (23:45 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Tue, 1 Sep 2015 23:45:48 +0000 (23:45 +0000)
commite4007ae73a74e53d08b1f46c672bc006f82ca057
treebc7fc8cf9e7c09213e57572471f0eb541b72fd32
parente33dc625bcdf9b341aeed9937f5e974ddd5c4e1f
- Implement super-simple KeSweepICache that always flushes the entire instruction cache. Use it in KD64 after modifying memory to make sure CPU gets the correct code to execute, and in NtFlushInstructionCache. May improve breakpoints somewhat.
- Move NtFlushInstructionCache from sysinfo.c to virtual.c where it fits better. Likewise, move it from kefuncs to mmfuncs in NDK, and fix function arguments (ULONG -> SIZE_T).
- Re-enable TRAP_DEBUG, adding back critical checks in the trap code. Checks can be improved but it is better than potentially silently messing up system state.
- Move remaining RtlPrefetchMemoryNonTemporal code into kernel. Stubbed for non-x86.
- By Hermes suggestion, override ASSERT to NT_ASSERT only for MSVC builds as that is where the main benefit is.

svn path=/trunk/; revision=68907
16 files changed:
reactos/dll/win32/kernel32/client/proc.c
reactos/include/ndk/kefuncs.h
reactos/include/ndk/mmfuncs.h
reactos/lib/rtl/mem.c
reactos/lib/rtl/powerpc/rtlmem.s
reactos/ntoskrnl/ex/sysinfo.c
reactos/ntoskrnl/include/internal/amd64/ke.h
reactos/ntoskrnl/include/internal/arm/ke.h
reactos/ntoskrnl/include/internal/i386/ke.h
reactos/ntoskrnl/include/internal/i386/trap_x.h
reactos/ntoskrnl/include/internal/powerpc/ke.h
reactos/ntoskrnl/include/ntoskrnl.h
reactos/ntoskrnl/kd64/kdapi.c
reactos/ntoskrnl/ke/i386/traphdlr.c
reactos/ntoskrnl/mm/ARM3/virtual.c
reactos/ntoskrnl/rtl/misc.c