Changeset 37270 in vbox for trunk/src/VBox/Runtime/include
- Timestamp:
- May 30, 2011 9:25:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/dvm.h
r37024 r37270 227 227 typedef const RTDVMFMTOPS *PCRTDVMFMTOPS; 228 228 229 /** Converts a LBA number to the byte offset. */ 230 #define RTDVM_LBA2BYTE(lba, disk) ((lba) * (disk)->cbSector) 231 /** Converts a Byte offset to the LBA number. */ 232 #define RTDVM_BYTE2LBA(off, disk) ((off) / (disk)->cbSector) 233 229 234 /** 230 235 * Returns the number of sectors in the disk.
Note:
See TracChangeset
for help on using the changeset viewer.