HomeSort by relevance Sort by last modified time
    Searched refs:EBR (Results 1 - 2 of 2) sorted by null

  /external/gptfdisk/
mbrpart.h 32 #define EBR 4 /* sector is used as an EBR or MBR */
41 // On read of logical entries, it's relative to the EBR record for that
42 // partition. When writing EBR records, it's relative to the extended
basicmbr.cc 250 struct TempMBR ebr; local
267 if (myDisk->Seek(offset) == 0) { // seek to EBR record
271 if (myDisk->Read(&ebr, 512) != 512) { // Load the data....
276 ReverseBytes(&ebr.MBRSignature, 2);
277 ReverseBytes(&ebr.partitions[0].firstLBA, 4);
278 ReverseBytes(&ebr.partitions[0].lengthLBA, 4);
279 ReverseBytes(&ebr.partitions[1].firstLBA, 4);
280 ReverseBytes(&ebr.partitions[1].lengthLBA, 4);
283 if (ebr.MBRSignature != MBR_SIGNATURE) {
285 cerr << "EBR signature for logical partition invalid; read 0x"
    [all...]

Completed in 313 milliseconds