mirror of
https://github.com/reactos/reactos.git
synced 2026-06-21 17:13:14 +08:00
** INVESTIGATION ** Investigate stuff in disk.sys and classpnp.sys
This commit is contained in:
@@ -949,6 +949,7 @@ ClassDispatchPnp(
|
||||
|
||||
case IRP_MN_START_DEVICE: {
|
||||
|
||||
__debugbreak();
|
||||
//
|
||||
// if this is sent to the FDO we should forward it down the
|
||||
// attachment chain before we start the FDO.
|
||||
|
||||
@@ -184,11 +184,13 @@ typedef enum _DISK_USER_WRITE_CACHE_SETTING
|
||||
|
||||
typedef struct _DISK_DATA {
|
||||
|
||||
#if 0
|
||||
//
|
||||
// This field is the ordinal of a partition as it appears on a disk.
|
||||
//
|
||||
|
||||
ULONG PartitionOrdinal;
|
||||
#endif
|
||||
|
||||
//
|
||||
// How has this disk been partitioned? Either EFI or MBR.
|
||||
@@ -212,6 +214,7 @@ typedef struct _DISK_DATA {
|
||||
|
||||
ULONG MbrCheckSum;
|
||||
|
||||
#if 0
|
||||
//
|
||||
// Number of hidden sectors for BPB.
|
||||
//
|
||||
@@ -243,6 +246,7 @@ typedef struct _DISK_DATA {
|
||||
//
|
||||
|
||||
BOOLEAN BootIndicator;
|
||||
#endif
|
||||
|
||||
} Mbr;
|
||||
|
||||
@@ -254,6 +258,7 @@ typedef struct _DISK_DATA {
|
||||
|
||||
GUID DiskId;
|
||||
|
||||
#if 0
|
||||
//
|
||||
// Partition type of this device object.
|
||||
//
|
||||
@@ -277,6 +282,7 @@ typedef struct _DISK_DATA {
|
||||
//
|
||||
|
||||
WCHAR PartitionName[36];
|
||||
#endif
|
||||
|
||||
} Efi;
|
||||
|
||||
|
||||
@@ -1649,6 +1649,7 @@ Return Value:
|
||||
|
||||
PAGED_CODE();
|
||||
|
||||
__debugbreak();
|
||||
Status = IoReadDiskSignature (Fdo,
|
||||
fdoExtension->DiskGeometry.BytesPerSector,
|
||||
&Signature);
|
||||
|
||||
@@ -234,6 +234,7 @@ Return Value:
|
||||
|
||||
PAGED_CODE();
|
||||
|
||||
__debugbreak();
|
||||
//
|
||||
// Build the lookaside list for srb's for the physical disk. Should only
|
||||
// need a couple. If this fails then we don't have an emergency SRB so
|
||||
@@ -448,6 +449,7 @@ Return Value:
|
||||
|
||||
if(!TEST_FLAG(Fdo->Characteristics, FILE_REMOVABLE_MEDIA)) {
|
||||
|
||||
__debugbreak();
|
||||
DiskReadSignature(Fdo);
|
||||
DiskReadDriveCapacity(Fdo);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user