ReactOS 0.4.16-dev-36-g301675c
|
#include "ntvdm.h"
#include <debug.h>
#include "emulator.h"
#include "cpu/bop.h"
#include "device.h"
#include "dos.h"
#include "dos/dem.h"
#include "memory.h"
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Variables | |
static const BYTE | StrategyRoutine [] |
static const BYTE | InterruptRoutine [] |
static LIST_ENTRY | DeviceList = { &DeviceList, &DeviceList } |
static PDOS_REQUEST_HEADER | DeviceRequest |
C_ASSERT | ( | (sizeof(StrategyRoutine)+sizeof(InterruptRoutine)) | = =DEVICE_CODE_SIZE | ) |
Definition at line 436 of file device.c.
Referenced by DosSystemBop().
Definition at line 430 of file device.c.
Referenced by DosSystemBop().
Definition at line 228 of file device.c.
Referenced by DosCreateDeviceEx(), and DosLoadDriver().
|
static |
Definition at line 49 of file device.c.
Referenced by DosDriverDispatchOutputUntilBusy(), DosDriverDispatchPeek(), DosDriverGenericRequest(), DosDriverReadInternal(), DosDriverWriteInternal(), and DosLoadDriver().
PDOS_DEVICE_NODE DosCreateDevice | ( | WORD | Attributes, |
PCHAR | DeviceName | ||
) |
Definition at line 413 of file device.c.
Referenced by ConDrvInitialize().
PDOS_DEVICE_NODE DosCreateDeviceEx | ( | WORD | Attributes, |
PCHAR | DeviceName, | ||
WORD | PrivateDataSize | ||
) |
Definition at line 361 of file device.c.
Referenced by DosCreateDevice(), EmsDrvInitialize(), and XmsInitialize().
|
static |
Definition at line 275 of file device.c.
Referenced by DosCreateDeviceEx(), DosGetDriverNode(), and DosLoadDriver().
VOID DosDeleteDevice | ( | PDOS_DEVICE_NODE | DeviceNode | ) |
Definition at line 419 of file device.c.
Referenced by ConDrvCleanup(), EmsDrvCleanup(), and XmsCleanup().
|
static |
Definition at line 206 of file device.c.
Referenced by DosGetDriverNode(), and DosLoadDriver().
|
static |
Definition at line 172 of file device.c.
Referenced by DosGetDriverNode(), and DosLoadDriver().
|
static |
Definition at line 196 of file device.c.
Referenced by DosGetDriverNode(), and DosLoadDriver().
|
static |
Definition at line 167 of file device.c.
Referenced by DosGetDriverNode(), and DosLoadDriver().
|
static |
Definition at line 139 of file device.c.
Referenced by DosGetDriverNode(), and DosLoadDriver().
|
static |
Definition at line 177 of file device.c.
Referenced by DosGetDriverNode(), and DosLoadDriver().
|
static |
Definition at line 201 of file device.c.
Referenced by DosGetDriverNode(), and DosLoadDriver().
|
static |
Definition at line 191 of file device.c.
Referenced by DosGetDriverNode(), and DosLoadDriver().
|
static |
Definition at line 211 of file device.c.
Referenced by DosGetDriverNode(), and DosLoadDriver().
|
static |
Definition at line 153 of file device.c.
Referenced by DosGetDriverNode(), and DosLoadDriver().
|
static |
Definition at line 146 of file device.c.
Referenced by DosGetDriverNode(), and DosLoadDriver().
|
static |
Definition at line 184 of file device.c.
Referenced by DosGetDriverNode(), and DosLoadDriver().
|
inlinestatic |
Definition at line 126 of file device.c.
Referenced by DosDriverDispatchClose(), DosDriverDispatchFlushInput(), DosDriverDispatchFlushOutput(), DosDriverDispatchInputStatus(), DosDriverDispatchOpen(), and DosDriverDispatchOutputStatus().
|
inlinestatic |
Definition at line 88 of file device.c.
Referenced by DosDriverDispatchIoctlRead(), and DosDriverDispatchRead().
|
inlinestatic |
Definition at line 107 of file device.c.
Referenced by DosDriverDispatchIoctlWrite(), and DosDriverDispatchWrite().
PDOS_DEVICE_NODE DosGetDevice | ( | LPCSTR | DeviceName | ) |
Definition at line 342 of file device.c.
Referenced by DosCreateFile(), DosCreateFileEx(), and DosOpenFile().
PDOS_DEVICE_NODE DosGetDriverNode | ( | DWORD | Driver | ) |
Definition at line 305 of file device.c.
Referenced by DosCheckInput(), DosCloseHandle(), DosCopyHandleTable(), DosDeviceIoControl(), DosFlushFileBuffers(), DosGetDevice(), DosReadFile(), DosReadLineBuffered(), and DosWriteFile().
Definition at line 571 of file device.c.
Definition at line 256 of file device.c.
Referenced by DosDeleteDevice().
|
static |
Definition at line 44 of file device.c.
Referenced by DeviceInterruptBop(), DosCreateDeviceNode(), and DosGetDriverNode().
|
static |
Definition at line 45 of file device.c.
Referenced by DeviceInterruptBop(), and DeviceStrategyBop().