Searched refs:MasterBootRecord (Results 1 – 3 of 3) sorted by relevance
/reactos/boot/freeldr/freeldr/arch/i386/ |
H A D | ntoskrnl.c | 120 PMASTER_BOOT_RECORD MasterBootRecord; in IoReadPartitionTable() local 129 MasterBootRecord = ExAllocatePool(NonPagedPool, SectorSize); in IoReadPartitionTable() 130 if (!MasterBootRecord) in IoReadPartitionTable() 137 ExFreePool(MasterBootRecord); in IoReadPartitionTable() 142 if (MasterBootRecord->MasterBootRecordMagic != 0xaa55) in IoReadPartitionTable() 144 ExFreePool(MasterBootRecord); in IoReadPartitionTable() 164 ExFreePool(MasterBootRecord); in IoReadPartitionTable() 174 ExFreePool(MasterBootRecord); in IoReadPartitionTable() 184 &MasterBootRecord->PartitionTable[i], in IoReadPartitionTable() 200 Partitions->Signature = MasterBootRecord->Signature; in IoReadPartitionTable() [all …]
|
/reactos/boot/freeldr/freeldr/disk/ |
H A D | partition.c | 92 IN PMASTER_BOOT_RECORD MasterBootRecord, in DiskGetFirstPartitionEntry() argument 114 IN PMASTER_BOOT_RECORD MasterBootRecord, in DiskGetFirstExtendedPartitionEntry() argument 142 MASTER_BOOT_RECORD MasterBootRecord; in DiskGetActivePartitionEntry() local 148 if (!DiskReadBootRecord(DriveNumber, 0, &MasterBootRecord)) in DiskGetActivePartitionEntry() 156 ThisPartitionTableEntry = &MasterBootRecord.PartitionTable[Index]; in DiskGetActivePartitionEntry() 199 MASTER_BOOT_RECORD MasterBootRecord; in DiskGetMbrPartitionEntry() local 208 if (!DiskReadBootRecord(DriveNumber, 0, &MasterBootRecord)) in DiskGetMbrPartitionEntry() 216 ThisPartitionTableEntry = &MasterBootRecord.PartitionTable[Index]; in DiskGetMbrPartitionEntry() 317 MASTER_BOOT_RECORD MasterBootRecord; in DiskDetectPartitionType() local 325 if (DiskReadBootRecord(DriveNumber, 0, &MasterBootRecord)) in DiskDetectPartitionType() [all …]
|
/reactos/ntoskrnl/fstub/ |
H A D | fstubex.c | 346 PMASTER_BOOT_RECORD MasterBootRecord; in FstubCreateDiskMBR() local 370 MasterBootRecord = (PMASTER_BOOT_RECORD)Disk->Buffer; in FstubCreateDiskMBR() 371 MasterBootRecord->Signature = DiskInfo->Signature; in FstubCreateDiskMBR() 462 PMASTER_BOOT_RECORD MasterBootRecord; in FstubCreateDiskRaw() local 496 MasterBootRecord->Signature = 0; in FstubCreateDiskRaw() 498 MasterBootRecord->MasterBootRecordMagic = 0; in FstubCreateDiskRaw() 1429 PMASTER_BOOT_RECORD MasterBootRecord; in FstubWriteBootSectorEFI() local 1446 Signature = MasterBootRecord->Signature; in FstubWriteBootSectorEFI() 1450 RtlZeroMemory(MasterBootRecord, Disk->SectorSize); in FstubWriteBootSectorEFI() 1458 MasterBootRecord->Signature = Signature; in FstubWriteBootSectorEFI() [all …]
|