ReactOS 0.4.16-dev-336-gb667d82
|
Go to the source code of this file.
Classes | |
struct | _DOS_FCB |
struct | _DOS_SYSVARS |
struct | _DOS_CLOCK_TRANSFER_RECORD |
struct | _DOS_INPUT_BUFFER |
struct | _DOS_FIND_FILE_BLOCK |
struct | _DOS_SDA |
struct | _DOS_DATA |
struct | _BIOS_DATA |
Macros | |
#define | DOS_VERSION MAKEWORD(5, 00) |
#define | NTDOS_VERSION MAKEWORD(5, 50) |
#define | DOS_CONFIG_PATH L"%SystemRoot%\\system32\\CONFIG.NT" |
#define | DOS_COMMAND_INTERPRETER L"%SystemRoot%\\system32\\COMMAND.COM /k %SystemRoot%\\system32\\AUTOEXEC.NT" |
#define | BIOS_CODE_SEGMENT 0x70 |
#define | BIOS_DATA_SEGMENT 0x70 |
#define | DOS_CODE_SEGMENT 0x80 |
#define | DOS_DATA_SEGMENT 0xA5 |
#define | DOS_DATA_OFFSET(x) FIELD_OFFSET(DOS_DATA, x) |
#define | SYSTEM_ENV_BLOCK 0x600 |
#define | SYSTEM_PSP 0x0008 |
#define | INVALID_DOS_HANDLE 0xFFFF |
#define | DOS_INPUT_HANDLE 0 |
#define | DOS_OUTPUT_HANDLE 1 |
#define | DOS_ERROR_HANDLE 2 |
#define | DOS_SFT_SIZE 255 |
#define | DOS_DIR_LENGTH 64 |
#define | NUM_DRIVES ('Z' - 'A' + 1) |
#define | DOS_CHAR_ATTRIBUTE 0x07 |
#define | RegisterDosInt32(IntNumber, IntHandler) |
Typedefs | |
typedef struct _DOS_FCB | DOS_FCB |
typedef struct _DOS_FCB * | PDOS_FCB |
typedef struct _DOS_SYSVARS | DOS_SYSVARS |
typedef struct _DOS_SYSVARS * | PDOS_SYSVARS |
typedef struct _DOS_CLOCK_TRANSFER_RECORD | DOS_CLOCK_TRANSFER_RECORD |
typedef struct _DOS_CLOCK_TRANSFER_RECORD * | PDOS_CLOCK_TRANSFER_RECORD |
typedef struct _DOS_INPUT_BUFFER | DOS_INPUT_BUFFER |
typedef struct _DOS_INPUT_BUFFER * | PDOS_INPUT_BUFFER |
typedef struct _DOS_FIND_FILE_BLOCK | DOS_FIND_FILE_BLOCK |
typedef struct _DOS_FIND_FILE_BLOCK * | PDOS_FIND_FILE_BLOCK |
typedef struct _DOS_SDA | DOS_SDA |
typedef struct _DOS_SDA * | PDOS_SDA |
typedef struct _DOS_DATA | DOS_DATA |
typedef struct _DOS_DATA * | PDOS_DATA |
typedef struct _BIOS_DATA | BIOS_DATA |
typedef struct _BIOS_DATA * | PBIOS_DATA |
Functions | |
C_ASSERT (sizeof(BIOS_DATA)==0x100) | |
VOID | ConDrvInitialize (VOID) |
VOID | ConDrvCleanup (VOID) |
CHAR | DosReadCharacter (WORD FileHandle, BOOLEAN Echo) |
BOOLEAN | DosCheckInput (VOID) |
VOID | DosPrintCharacter (WORD FileHandle, CHAR Character) |
BOOLEAN | DosBIOSInitialize (VOID) |
BOOLEAN | DosControlBreak (VOID) |
VOID | DosEchoCharacter (CHAR Character) |
BOOLEAN | DosKRNLInitialize (VOID) |
Variables | |
PBIOS_DATA | BiosData |
PDOS_DATA | DosData |
PDOS_SYSVARS | SysVars |
PDOS_SDA | Sda |
CALLBACK16 | DosContext |
#define DOS_COMMAND_INTERPRETER L"%SystemRoot%\\system32\\COMMAND.COM /k %SystemRoot%\\system32\\AUTOEXEC.NT" |
#define DOS_CONFIG_PATH L"%SystemRoot%\\system32\\CONFIG.NT" |
#define RegisterDosInt32 | ( | IntNumber, | |
IntHandler | |||
) |
typedef struct _BIOS_DATA BIOS_DATA |
typedef struct _DOS_INPUT_BUFFER DOS_INPUT_BUFFER |
typedef struct _DOS_SYSVARS DOS_SYSVARS |
typedef struct _BIOS_DATA * PBIOS_DATA |
typedef struct _DOS_FIND_FILE_BLOCK * PDOS_FIND_FILE_BLOCK |
typedef struct _DOS_INPUT_BUFFER * PDOS_INPUT_BUFFER |
typedef struct _DOS_SYSVARS * PDOS_SYSVARS |
Definition at line 132 of file condrv.c.
Referenced by DosKRNLInitialize().
setBP(0x091E); // DOS base stack pointer relic value
Definition at line 221 of file bios.c.
Referenced by DosStart().
Definition at line 120 of file bios.c.
Referenced by DosInt21h().
Definition at line 181 of file dos.c.
Referenced by DosInt21h(), and DosReadLineBuffered().
Definition at line 48 of file bios.c.
Referenced by DosReadCharacter(), DosReadFile(), and DosReadLineBuffered().
Definition at line 2264 of file dos.c.
Referenced by DosBIOSInitialize().
Definition at line 152 of file bios.c.
Referenced by DosCharPrint(), DosControlBreak(), DosEchoCharacter(), and DosInt21h().
Definition at line 85 of file bios.c.
Referenced by DosInt21h().
|
extern |
Definition at line 42 of file bios.c.
Referenced by DosBIOSInitialize(), DosInt2Fh(), PciScanBus(), and PPBridge_SaveCurrentSettings().
|
extern |
Definition at line 40 of file dos.c.
Referenced by ConDrvInputStatus(), ConDrvReadInput(), ConDrvWriteOutput(), Dem_BiosCharPrint(), DosBootsectorInitialize(), DosCallDriver(), DosControlBreak(), DosFastConOut(), DosKRNLInitialize(), and DosStart().
|
extern |
Definition at line 45 of file dos.c.
Referenced by demFileFindFirst(), DosChangeDirectory(), DosChangeDrive(), DosCreatePsp(), DosInt21h(), DosInt2Fh(), DosKRNLInitialize(), and DosReadFile().
|
extern |
Definition at line 48 of file dos.c.
Referenced by CmdSetExitCode(), CmdStartProcess(), DosAllocateMemory(), DosCallDriver(), DosChangeDirectory(), DosChangeDrive(), DosCheckInput(), DosCloseHandle(), DosCombineFreeBlocks(), DosControlBreak(), DosCopyHandleTable(), DosCreateFile(), DosCreateFileEx(), DosCreatePsp(), DosDeviceIoControl(), DosDeviceIoControlDrive(), DosDuplicateHandle(), DosFlushFileBuffers(), DosForceDuplicateHandle(), DosFreeMemory(), DosGetPreviousUmb(), DosInitializeMemory(), DosInt21h(), DosIsFileOnCdRom(), DosKRNLInitialize(), DosLinkUmb(), DosLoadDriver(), DosLoadExecutableInternal(), DosLockFile(), DosOpenFile(), DosOpenHandle(), DosPrintCharacter(), DosQueryHandle(), DosReadCharacter(), DosReadFile(), DosReadLineBuffered(), DosResizeHandleTable(), DosResizeMemory(), DosSetProcessContext(), DosStartComSpec(), DosStartProcess32(), DosTerminateProcess(), DosUnlinkUmb(), and DosUnlockFile().
|
extern |
Definition at line 47 of file dos.c.
Referenced by DosAddDriver(), DosAllocateMemory(), DosChangeDirectory(), DosChangeDrive(), DosCopyHandleTable(), DosFindDeviceDescriptor(), DosFindFreeDescriptor(), DosFindWin32Descriptor(), DosGetDevice(), DosGetFileDescriptor(), DosGetPreviousUmb(), DosInitializeMemory(), DosInitializeUmb(), DosInt21h(), DosKRNLInitialize(), DosLinkUmb(), DosReadFile(), DosRemoveDriver(), DosTerminateProcess(), and DosUnlinkUmb().