Changeset 33240 in vbox
- Timestamp:
- Oct 19, 2010 4:18:49 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/SystemPropertiesImpl.cpp
r33238 r33240 246 246 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 247 247 248 /** The BIOS supports currently 32 bit LBA numbers (implementing the full 248 /* 249 * The BIOS supports currently 32 bit LBA numbers (implementing the full 249 250 * 48 bit range is in theory trivial, but the crappy compiler makes things 250 * more difficult). This translates to almost 2 T Bytes (to be on the safe251 * more difficult). This translates to almost 2 TiBytes (to be on the safe 251 252 * side, the reported limit is 1 MiByte less than that, as the total number 252 253 * of sectors should fit in 32 bits, too), which should be enough for the 253 * moment. The virtual ATA/SATA disks support complete LBA48, and SCSI 254 * supports LBA64 (almost, more like LBA55 in practice), so the theoretical 255 * maximum disk size is 128 PiByte/16 EiByte. The GUI works nicely with 6 256 * orders of magnitude, but not with 11/13 orders of magnitude. */ 257 /* no need to lock, this is const */ 258 *infoVDSize = (2048LL * 1024 - 1) * _1M; 254 * moment. Since the MBR partition tables support only 32bit sector numbers 255 * and thus the BIOS can only boot from disks smaller than 2T this is a 256 * rather hard limit. 257 * 258 * The virtual ATA/SATA disks support complete LBA48, and SCSI supports 259 * LBA64 (almost, more like LBA55 in practice), so the theoretical maximum 260 * disk size is 128 PiByte/16 EiByte. The GUI works nicely with 6 orders 261 * of magnitude, but not with 11..13 orders of magnitude. 262 */ 263 /* no need to lock, this is const */ 264 *infoVDSize = 2 * _1T - _1M; 259 265 260 266 return S_OK;
Note:
See TracChangeset
for help on using the changeset viewer.