ReactOS 0.4.16-dev-289-g096a551
|
#include "ntvdm.h"
#include <debug.h>
#include "emulator.h"
#include "cpu/bop.h"
#include "../../memory.h"
#include "bios/umamgr.h"
#include "device.h"
#include "himem.h"
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | XMS_DEVICE_NAME "XMSXXXX0" |
#define | BOP_XMS 0x52 |
Functions | |
static VOID | XmsLocalEnableA20 (VOID) |
static VOID | XmsLocalDisableA20 (VOID) |
static PXMS_HANDLE | GetXmsHandleRecord (WORD Handle) |
static BOOLEAN | ValidateXmsHandle (PXMS_HANDLE HandleEntry) |
static WORD | XmsGetLargestFreeBlock (VOID) |
static UCHAR | XmsAlloc (WORD Size, PWORD Handle) |
static UCHAR | XmsRealloc (WORD Handle, WORD NewSize) |
static UCHAR | XmsFree (WORD Handle) |
static UCHAR | XmsLock (WORD Handle, PDWORD Address) |
static UCHAR | XmsUnlock (WORD Handle) |
static VOID WINAPI | XmsBopProcedure (LPWORD Stack) |
BOOLEAN | XmsGetDriverEntry (PDWORD Pointer) |
VOID | XmsInitialize (VOID) |
VOID | XmsCleanup (VOID) |
Variables | |
static const BYTE | EntryProcedure [] |
static PDOS_DEVICE_NODE | Node = NULL |
static XMS_HANDLE | HandleTable [XMS_MAX_HANDLES] |
static WORD | FreeBlocks = XMS_BLOCKS |
static RTL_BITMAP | AllocBitmap |
static ULONG | BitmapBuffer [(XMS_BLOCKS+31)/32] |
static WORD | HmaMinSize = 0 |
static BOOLEAN | IsHmaReserved = FALSE |
static BOOLEAN | IsA20Enabled = FALSE |
static BOOLEAN | CanChangeA20 = TRUE |
static LONG | A20EnableCount = 0 |
|
inlinestatic |
Definition at line 172 of file himem.c.
Referenced by XmsBopProcedure(), XmsFree(), XmsLock(), XmsRealloc(), and XmsUnlock().
|
inlinestatic |
Definition at line 181 of file himem.c.
Referenced by XmsBopProcedure(), XmsFree(), XmsLock(), XmsRealloc(), and XmsUnlock().
Definition at line 208 of file himem.c.
Referenced by XmsBopProcedure().
Definition at line 413 of file himem.c.
Referenced by XmsInitialize().
Definition at line 360 of file himem.c.
Referenced by XmsBopProcedure().
Definition at line 186 of file himem.c.
Referenced by XmsBopProcedure().
Definition at line 796 of file himem.c.
Referenced by DosKRNLInitialize().
Definition at line 141 of file himem.c.
Referenced by XmsBopProcedure().
Definition at line 125 of file himem.c.
Referenced by XmsBopProcedure().
Definition at line 380 of file himem.c.
Referenced by XmsBopProcedure().
Definition at line 277 of file himem.c.
Referenced by XmsBopProcedure().
Definition at line 397 of file himem.c.
Referenced by XmsBopProcedure().
|
static |
Definition at line 121 of file himem.c.
Referenced by XmsLocalDisableA20(), and XmsLocalEnableA20().
|
static |
Definition at line 85 of file himem.c.
Referenced by XmsAlloc(), XmsFree(), XmsGetLargestFreeBlock(), XmsInitialize(), and XmsRealloc().
|
static |
Definition at line 86 of file himem.c.
Referenced by AddNewMftEntry(), GetVolumeBitmap(), HvpAddBin(), HvpInitializeMemoryHive(), IncreaseMftSize(), IsaPnpCreateLogicalDeviceRequirements(), and XmsInitialize().
Definition at line 116 of file himem.c.
Referenced by XmsLocalDisableA20(), and XmsLocalEnableA20().
Definition at line 69 of file himem.c.
Referenced by XmsInitialize().
|
static |
Definition at line 84 of file himem.c.
Referenced by XmsAlloc(), XmsBopProcedure(), XmsFree(), and XmsRealloc().
|
static |
Definition at line 83 of file himem.c.
Referenced by DosCloseHandle(), DosForceDuplicateHandle(), DosOpenHandle(), DosQueryHandle(), DosResizeHandleTable(), ExChangeHandle(), ExCreateHandle(), ExCreateHandleTable(), ExDestroyHandle(), ExDestroyHandleTable(), ExDupHandleTable(), ExEnumHandleTable(), ExMapHandleToPointer(), ExpAllocateHandleTable(), ExpAllocateHandleTableEntry(), ExpAllocateHandleTableEntrySlow(), ExpAllocateLowLevelTable(), ExpAllocateMidLevelTable(), ExpBlockOnLockedHandleEntry(), ExpFreeHandleTable(), ExpFreeHandleTableEntry(), ExpLockHandleTableEntry(), ExpLookupHandleTableEntry(), ExpMoveFreeHandles(), ExRemoveHandleTable(), ExSweepHandleTable(), ExUnlockHandleTableEntry(), GetXmsHandleRecord(), NtWaitForMultipleObjects(), ObClearProcessHandleTable(), ObDuplicateObject(), ObGetProcessHandleCount(), ObKillProcess(), ObpCloseHandle(), ObpCloseHandleTableEntry(), ObpCreateHandle(), ObpCreateUnnamedHandle(), ObpDuplicateHandleCallback(), ObpReferenceProcessObjectByHandle(), ObQueryObjectAuditingByHandle(), ObReferenceFileObjectForWrite(), ObReferenceObjectByHandle(), ObReferenceProcessHandleTable(), ObSetHandleAttributes(), QSI_DEF(), RtlAllocateHandle(), RtlDestroyHandleTable(), RtlFreeHandle(), RtlInitializeHandleTable(), RtlIsValidHandle(), RtlIsValidIndexHandle(), RtlpCloseHandleCallback(), START_TEST(), test_HandleTables(), XmsAlloc(), XmsBopProcedure(), and XmsInitialize().
|
static |
Definition at line 98 of file himem.c.
Referenced by XmsBopProcedure().
Definition at line 109 of file himem.c.
Referenced by XmsBopProcedure().
Definition at line 103 of file himem.c.
Referenced by XmsBopProcedure().
|
static |