Home
last modified time | relevance | path

Searched refs:SysVars (Results 1 – 7 of 7) sorted by relevance

/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/
H A Dmemory.c146 if (SysVars->UmbLinked && SysVars->UmbChainStart != 0xFFFF && in DosAllocateMemory()
150 Segment = SysVars->UmbChainStart; in DosAllocateMemory()
448 DWORD Segment = SysVars->FirstMcb; in DosLinkUmb()
455 if (SysVars->UmbLinked) return TRUE; in DosLinkUmb()
488 SysVars->UmbLinked = TRUE; in DosLinkUmb()
494 DWORD Segment = SysVars->FirstMcb; in DosUnlinkUmb()
528 SysVars->UmbLinked = FALSE; in DosUnlinkUmb()
553 Segment = SysVars->UmbChainStart; in DosGetPreviousUmb()
633 SysVars->UmbChainStart = SysVars->FirstMcb + USER_MEMORY_SIZE + 1; in DosInitializeUmb()
674 SysVars->UmbLinked = FALSE; in DosInitializeMemory()
[all …]
H A Ddos.c47 PDOS_SYSVARS SysVars; variable
57 if (Drive >= SysVars->NumLocalDrives) return FALSE; in DosChangeDrive()
100 if (DriveNumber >= SysVars->NumLocalDrives) in DosChangeDirectory()
437 setAL(SysVars->NumLocalDrives); in DosInt21h()
716 setDL(SysVars->BootDrive); in DosInt21h()
2300 SysVars = &DosData->SysVars; in DosKRNLInitialize()
2301 RtlZeroMemory(SysVars, sizeof(*SysVars)); in DosKRNLInitialize()
2316 SysVars->NullDevice.Link = MAXDWORD; in DosKRNLInitialize()
2321 SysVars->NullDevice.InterruptRoutine = SysVars->NullDevice.StrategyRoutine + 6; in DosKRNLInitialize()
2322 RtlFillMemory(SysVars->NullDevice.DeviceName, in DosKRNLInitialize()
[all …]
H A Ddosfiles.c73 DWORD CurrentSft = SysVars->FirstSft; in DosFindFreeDescriptor()
97 DWORD CurrentSft = SysVars->FirstSft; in DosFindWin32Descriptor()
127 DWORD CurrentSft = SysVars->FirstSft; in DosFindDeviceDescriptor()
155 DWORD CurrentSft = SysVars->FirstSft; in DosGetFileDescriptor()
803 if (!SysVars->UnreadConInput) in DosReadFile()
805 SysVars->UnreadConInput = FIELD_OFFSET(DOS_DATA, UnreadConInputBuffer); in DosReadFile()
808 MAKELONG(SysVars->UnreadConInput, DOS_DATA_SEGMENT), in DosReadFile()
813 ConBuffer = (PCHAR)SEG_OFF_TO_PTR(DOS_DATA_SEGMENT, SysVars->UnreadConInput); in DosReadFile()
827 SysVars->UnreadConInput = 0; in DosReadFile()
836 SysVars->UnreadConInput++; in DosReadFile()
H A Dhandle.c53 DescriptorId = DosFindDeviceDescriptor(SysVars->ActiveCon); in DosCopyHandleTable()
80 PDOS_DEVICE_NODE Node = DosGetDriverNode(SysVars->ActiveCon); in DosCopyHandleTable()
83 Descriptor->DevicePointer = SysVars->ActiveCon; in DosCopyHandleTable()
H A Ddevice.c230 PDOS_DRIVER LastDriver = &SysVars->NullDevice; in DosAddDriver()
245 SysVars->ActiveClock = Driver; in DosAddDriver()
252 SysVars->ActiveCon = Driver; in DosAddDriver()
258 DWORD CurrentDriver = MAKELONG(DOS_DATA_OFFSET(SysVars.NullDevice), DOS_DATA_SEGMENT); in DosRemoveDriver()
344 DWORD CurrentDriver = MAKELONG(DOS_DATA_OFFSET(SysVars.NullDevice), DOS_DATA_SEGMENT); in DosGetDevice()
H A Ddos.h253 DOS_SYSVARS SysVars; member
308 extern PDOS_SYSVARS SysVars;
H A Dprocess.c938 WORD McbSegment = SysVars->FirstMcb; in DosTerminateProcess()