ReactOS 0.4.16-dev-297-gc569aee
|
#include <ntoskrnl.h>
#include <debug.h>
#include <internal/hal.h>
#include <pshpack1.h>
#include <poppack.h>
Go to the source code of this file.
Classes | |
struct | _REG_DISK_MOUNT_INFO |
Macros | |
#define | NDEBUG |
#define | AUTO_DRIVE MAXULONG |
#define | PARTITION_MAGIC 0xaa55 |
#define | EFI_PMBR_OSTYPE_EFI 0xEE |
Typedefs | |
typedef struct _REG_DISK_MOUNT_INFO | REG_DISK_MOUNT_INFO |
typedef struct _REG_DISK_MOUNT_INFO * | PREG_DISK_MOUNT_INFO |
typedef enum _DISK_MANAGER | DISK_MANAGER |
typedef enum _PARTITION_TYPE | PARTITION_TYPE |
typedef enum _PARTITION_TYPE * | PPARTITION_TYPE |
Enumerations | |
enum | _DISK_MANAGER { NoDiskManager , OntrackDiskManager , EZ_Drive } |
enum | _PARTITION_TYPE { BootablePartition , PrimaryPartition , LogicalPartition , FtPartition , UnknownPartition , DataPartition } |
Variables | |
const WCHAR | DiskMountString [] = L"\\DosDevices\\%C:" |
typedef enum _DISK_MANAGER DISK_MANAGER |
typedef enum _PARTITION_TYPE PARTITION_TYPE |
typedef enum _PARTITION_TYPE * PPARTITION_TYPE |
typedef struct _REG_DISK_MOUNT_INFO * PREG_DISK_MOUNT_INFO |
Enumerator | |
---|---|
NoDiskManager | |
OntrackDiskManager | |
EZ_Drive |
Enumerator | |
---|---|
BootablePartition | |
PrimaryPartition | |
LogicalPartition | |
FtPartition | |
UnknownPartition | |
DataPartition |
Definition at line 44 of file disksup.c.
VOID NTAPI FstubFixupEfiPartition | ( | IN PPARTITION_DESCRIPTOR | PartitionDescriptor, |
IN ULONGLONG | MaxOffset | ||
) |
Definition at line 1749 of file disksup.c.
Referenced by xHalIoReadPartitionTable().
VOID FASTCALL HalExamineMBR | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN ULONG | SectorSize, | ||
IN ULONG | MbrTypeIdentifier, | ||
OUT PVOID * | MbrBuffer | ||
) |
VOID NTAPI HalpCalculateChsValues | ( | IN PLARGE_INTEGER | PartitionOffset, |
IN PLARGE_INTEGER | PartitionLength, | ||
IN CCHAR | ShiftCount, | ||
IN ULONG | SectorsPerTrack, | ||
IN ULONG | NumberOfTracks, | ||
IN ULONG | ConventionalCylinders, | ||
OUT PPARTITION_DESCRIPTOR | PartitionDescriptor | ||
) |
Definition at line 1482 of file disksup.c.
Referenced by xHalIoWritePartitionTable().
Definition at line 766 of file disksup.c.
Referenced by xHalIoAssignDriveLetters().
Definition at line 857 of file disksup.c.
Referenced by xHalIoAssignDriveLetters().
NTSTATUS NTAPI HalpGetFullGeometry | ( | IN PDEVICE_OBJECT | DeviceObject, |
OUT PDISK_GEOMETRY_EX | Geometry | ||
) |
Definition at line 1389 of file disksup.c.
Referenced by xHalIoReadPartitionTable().
BOOLEAN HalpIsOldStyleFloppy | ( | PUNICODE_STRING | DeviceName | ) |
Definition at line 707 of file disksup.c.
Referenced by xHalIoAssignDriveLetters().
BOOLEAN NTAPI HalpIsValidPartitionEntry | ( | IN PPARTITION_DESCRIPTOR | Entry, |
IN ULONGLONG | MaxOffset, | ||
IN ULONGLONG | MaxSector | ||
) |
Definition at line 1441 of file disksup.c.
Referenced by xHalIoReadPartitionTable().
UCHAR HalpNextDriveLetter | ( | IN PUNICODE_STRING | DeviceName, |
IN PSTRING | NtDeviceName, | ||
OUT PUCHAR | NtSystemPath, | ||
BOOLEAN | IsRemovable | ||
) |
Definition at line 607 of file disksup.c.
Referenced by xHalIoAssignDriveLetters().
NTSTATUS HalpNextMountLetter | ( | IN PUNICODE_STRING | DeviceName, |
OUT PUCHAR | DriveLetter | ||
) |
Definition at line 441 of file disksup.c.
Referenced by HalpNextDriveLetter().
NTSTATUS FASTCALL HalpQueryDriveLayout | ( | IN PUNICODE_STRING | DeviceName, |
OUT PDRIVE_LAYOUT_INFORMATION * | LayoutInfo | ||
) |
Definition at line 56 of file disksup.c.
Referenced by xHalIoAssignDriveLetters().
NTSTATUS HalpQueryPartitionType | ( | IN PUNICODE_STRING | DeviceName, |
IN PDRIVE_LAYOUT_INFORMATION | LayoutInfo, | ||
OUT PPARTITION_TYPE | PartitionType | ||
) |
Definition at line 165 of file disksup.c.
Referenced by xHalIoAssignDriveLetters().
NTSTATUS HalpSetMountLetter | ( | IN PUNICODE_STRING | DeviceName, |
UCHAR | DriveLetter | ||
) |
Definition at line 522 of file disksup.c.
Referenced by HalpNextDriveLetter(), and xHalIoAssignDriveLetters().
VOID FASTCALL IoAssignDriveLetters | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock, |
IN PSTRING | NtDeviceName, | ||
OUT PUCHAR | NtSystemPath, | ||
OUT PSTRING | NtSystemPathString | ||
) |
Definition at line 2747 of file disksup.c.
Definition at line 320 of file disksup.c.
Referenced by xHalIoAssignDriveLetters().
NTSTATUS FASTCALL IoReadPartitionTable | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN ULONG | SectorSize, | ||
IN BOOLEAN | ReturnRecognizedPartitions, | ||
IN OUT PDRIVE_LAYOUT_INFORMATION * | PartitionBuffer | ||
) |
Definition at line 2697 of file disksup.c.
NTSTATUS FASTCALL IoSetPartitionInformation | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN ULONG | SectorSize, | ||
IN ULONG | PartitionNumber, | ||
IN ULONG | PartitionType | ||
) |
NTSTATUS FASTCALL IoWritePartitionTable | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN ULONG | SectorSize, | ||
IN ULONG | SectorsPerTrack, | ||
IN ULONG | NumberOfHeads, | ||
IN PDRIVE_LAYOUT_INFORMATION | PartitionBuffer | ||
) |
VOID FASTCALL xHalExamineMBR | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN ULONG | SectorSize, | ||
IN ULONG | MbrTypeIdentifier, | ||
OUT PVOID * | MbrBuffer | ||
) |
Definition at line 1643 of file disksup.c.
VOID FASTCALL xHalGetPartialGeometry | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PULONG | ConventionalCylinders, | ||
IN PLONGLONG | DiskSize | ||
) |
Definition at line 1557 of file disksup.c.
Referenced by xHalIoWritePartitionTable().
VOID FASTCALL xHalIoAssignDriveLetters | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock, |
IN PSTRING | NtDeviceName, | ||
OUT PUCHAR | NtSystemPath, | ||
OUT PSTRING | NtSystemPathString | ||
) |
Definition at line 912 of file disksup.c.
NTSTATUS FASTCALL xHalIoReadPartitionTable | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN ULONG | SectorSize, | ||
IN BOOLEAN | ReturnRecognizedPartitions, | ||
IN OUT PDRIVE_LAYOUT_INFORMATION * | PartitionBuffer | ||
) |
Definition at line 1768 of file disksup.c.
NTSTATUS FASTCALL xHalIoSetPartitionInformation | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN ULONG | SectorSize, | ||
IN ULONG | PartitionNumber, | ||
IN ULONG | PartitionType | ||
) |
Definition at line 2200 of file disksup.c.
NTSTATUS FASTCALL xHalIoWritePartitionTable | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN ULONG | SectorSize, | ||
IN ULONG | SectorsPerTrack, | ||
IN ULONG | NumberOfHeads, | ||
IN PDRIVE_LAYOUT_INFORMATION | PartitionBuffer | ||
) |
Definition at line 2387 of file disksup.c.