ReactOS 0.4.15-dev-8632-gbc8c7d1
|
#include "ntvdm.h"
#include <debug.h>
#include "emulator.h"
#include "memory.h"
#include <ndk/mmfuncs.h>
Go to the source code of this file.
Classes | |
struct | _MEM_HOOK |
Macros | |
#define | NDEBUG |
Typedefs | |
typedef struct _MEM_HOOK | MEM_HOOK |
typedef struct _MEM_HOOK * | PMEM_HOOK |
Variables | |
static LIST_ENTRY | HookList |
static PMEM_HOOK | PageTable [TOTAL_PAGES] = { NULL } |
static BOOLEAN | A20Line = FALSE |
VOID FASTCALL EmulatorCopyMemory | ( | PFAST486_STATE | State, |
ULONG | DestAddress, | ||
ULONG | SrcAddress, | ||
ULONG | Size | ||
) |
Definition at line 219 of file memory.c.
Referenced by VidBiosScrollWindow().
Definition at line 280 of file memory.c.
Referenced by PS2WriteControl(), and XmsBopProcedure().
Definition at line 142 of file memory.c.
Referenced by CpuInitialize(), DmaRequest(), DosWriteFile(), EmulatorCopyMemory(), PaintMouseCursor(), VidBiosDrawGlyph(), VidBiosVideoService(), and WriteDisk().
Definition at line 275 of file memory.c.
Referenced by PS2WriteData(), XmsLocalDisableA20(), and XmsLocalEnableA20().
Definition at line 186 of file memory.c.
Referenced by CpuInitialize(), DmaRequest(), DosReadFile(), EmulatorCopyMemory(), EraseMouseCursor(), PaintMouseCursor(), ReadDisk(), VidBiosClearScreen(), VidBiosDrawGlyph(), and VidBiosScrollWindow().
Definition at line 783 of file memory.c.
Referenced by EmulatorCleanup().
Definition at line 286 of file memory.c.
Referenced by CpuExceptionFilter().
|
inlinestatic |
Definition at line 49 of file memory.c.
Referenced by ReadPage(), and WritePage().
Definition at line 723 of file memory.c.
Referenced by EmulatorInitialize().
BOOL MemInstallFastMemoryHook | ( | PVOID | Address, |
ULONG | Size, | ||
PMEMORY_READ_HANDLER | ReadHandler, | ||
PMEMORY_WRITE_HANDLER | WriteHandler | ||
) |
Definition at line 299 of file memory.c.
Referenced by EmsDrvInitialize(), VgaWriteGc(), VgaWritePort(), and WriteProtectRom().
Definition at line 381 of file memory.c.
Referenced by BiosMiscService().
Definition at line 353 of file memory.c.
Referenced by EmsDrvCleanup(), VgaCleanup(), VgaWriteGc(), VgaWritePort(), and WriteUnProtectRom().
Definition at line 416 of file memory.c.
Definition at line 118 of file memory.c.
Referenced by EmulatorReadMemory().
Definition at line 400 of file memory.c.
Referenced by MGetVdmPointer().
Definition at line 606 of file memory.c.
Definition at line 550 of file memory.c.
Definition at line 654 of file memory.c.
BOOL WINAPI VDDInstallMemoryHook | ( | IN HANDLE | hVdd, |
IN PVOID | pStart, | ||
IN DWORD | dwCount, | ||
IN PVDD_MEMORY_HANDLER | MemoryHandler | ||
) |
Definition at line 470 of file memory.c.
Definition at line 129 of file memory.c.
Referenced by EmulatorWriteMemory(), and MmFinalizeSectionPageOut().
Definition at line 44 of file memory.c.
Referenced by EmulatorGetA20(), EmulatorReadMemory(), EmulatorSetA20(), and EmulatorWriteMemory().
|
static |
Definition at line 42 of file memory.c.
Referenced by MemCleanup(), MemInitialize(), MemInstallFastMemoryHook(), and VDDInstallMemoryHook().
|
static |
Definition at line 43 of file memory.c.
Referenced by _MmGetPageEntrySectionSegment(), _MmSetPageEntrySectionSegment(), EmulatorReadMemory(), EmulatorWriteMemory(), Ext2MbsToUnicode(), Ext2ProcessGlobalProperty(), Ext2ProcessVolumeProperty(), Ext2UnicodeToMbs(), Ki386IdentityMapMakeValid(), Ki386MapAddress(), MemExceptionHandler(), MemInstallFastMemoryHook(), MemQueryMemoryZone(), MemRemoveFastMemoryHook(), MiPurgeImageSegment(), MiSectionPageTableGet(), MmDefpMapPhysicalAddress(), MmDefpTranslateVirtualAddress(), MmFlushSegment(), MmFreePageTable(), MmGetSectionAssociation(), MmPurgeSegment(), MmSetSectionAssociation(), VDDAllocMem(), VDDDeInstallMemoryHook(), VDDFreeMem(), and VDDInstallMemoryHook().