VirtualBox

Changeset 47829 in vbox for trunk/include


Ignore:
Timestamp:
Aug 18, 2013 12:30:02 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88090
Message:

Devices/Storage: Preparations for non 512 byte sector sizes. Add a new getter in the block and media interfaces and remove uses of 512 constants and use the reported sector size from the underlying medium

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmifs.h

    r47571 r47829  
    10401040
    10411041    /**
     1042     * Gets the media sector size in bytes.
     1043     *
     1044     * @returns Media sector size in bytes.
     1045     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
     1046     * @thread  Any thread.
     1047     */
     1048    DECLR3CALLBACKMEMBER(uint32_t, pfnGetSectorSize,(PPDMIBLOCK pInterface));
     1049
     1050    /**
    10421051     * Gets the block drive type.
    10431052     *
     
    12831292     */
    12841293    DECLR3CALLBACKMEMBER(uint64_t, pfnGetSize,(PPDMIMEDIA pInterface));
     1294
     1295    /**
     1296     * Gets the media sector size in bytes.
     1297     *
     1298     * @returns Media sector size in bytes.
     1299     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
     1300     * @thread  Any thread.
     1301     */
     1302    DECLR3CALLBACKMEMBER(uint32_t, pfnGetSectorSize,(PPDMIMEDIA pInterface));
    12851303
    12861304    /**
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette