Changeset 92290 in vbox for trunk/src/VBox/Devices/PC/BIOS/ahci.c
- Timestamp:
- Nov 9, 2021 12:49:35 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/ahci.c
r89364 r92290 751 751 if (idxCmosChsBase && inb_cmos(idxCmosChsBase+7)) 752 752 { 753 lgeo.cylinders = inb_cmos(idxCmosChsBase + 0) + (inb_cmos(idxCmosChsBase + 1) << 8);753 lgeo.cylinders = get_cmos_word(idxCmosChsBase /*, idxCmosChsBase+1*/); 754 754 lgeo.heads = inb_cmos(idxCmosChsBase + 2); 755 755 lgeo.spt = inb_cmos(idxCmosChsBase + 7);
Note:
See TracChangeset
for help on using the changeset viewer.