[NTVDM][FAST486]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Fri, 13 Mar 2015 17:57:51 +0000 (17:57 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Fri, 13 Mar 2015 17:57:51 +0000 (17:57 +0000)
commit888e1c450bf99ccde5d813c8e41aa0e1f8b6a670
tree13ecf3eef3eb7c706c9640076a23bc18d46c8aec
parent027720cd57b476239917ee3c1d8b81f450d88721
[NTVDM][FAST486]
- Implement VDDInstallMemoryHook and VDDDeInstallMemoryHook using page guards.
- Implement another API for memory hooks that should be faster than page guards
(for NTVDM only).
- Adjust the VGA and EMS memory handlers to use this method.
- In Fast486, implement a method that will allow us to "rewind" the current instruction,
in case it was interrupted by a memory hook page fault.
- Use a memory hook to protect the BIOS ROM from being written to.

svn path=/trunk/; revision=66666
12 files changed:
reactos/include/reactos/libs/fast486/fast486.h
reactos/lib/fast486/fast486.c
reactos/subsystems/mvdm/ntvdm/CMakeLists.txt
reactos/subsystems/mvdm/ntvdm/bios/bios.c
reactos/subsystems/mvdm/ntvdm/cpu/cpu.c
reactos/subsystems/mvdm/ntvdm/ems.c
reactos/subsystems/mvdm/ntvdm/ems.h
reactos/subsystems/mvdm/ntvdm/emulator.c
reactos/subsystems/mvdm/ntvdm/hardware/video/vga.c
reactos/subsystems/mvdm/ntvdm/hardware/video/vga.h
reactos/subsystems/mvdm/ntvdm/memory.c [new file with mode: 0644]
reactos/subsystems/mvdm/ntvdm/memory.h [new file with mode: 0644]