Changeset 77012 in vbox
- Timestamp:
- Jan 27, 2019 9:49:09 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r77010 r77012 1543 1543 (s->uATARegSelect & 0x0f) * s->PCHSGeometry.cSectors + 1544 1544 (s->uATARegSector - 1); 1545 LogFlowFunc(("CHS %u/%u/%u -> LBA %llu\n", (s->uATARegHCyl << 8) | s->uATARegLCyl, s->uATARegSelect & 0x0f, s->uATARegSector, iLBA)); 1545 1546 } 1546 1547 return iLBA; … … 1581 1582 s->uATARegSelect = (s->uATARegSelect & 0xf0) | ((r / s->PCHSGeometry.cSectors) & 0x0f); 1582 1583 s->uATARegSector = (r % s->PCHSGeometry.cSectors) + 1; 1584 LogFlowFunc(("LBA %llu -> CHS %u/%u/%u\n", iLBA, cyl, s->uATARegSelect & 0x0f, s->uATARegSector)); 1583 1585 } 1584 1586 }
Note:
See TracChangeset
for help on using the changeset viewer.