VirtualBox

Changeset 99963 in vbox for trunk


Ignore:
Timestamp:
May 24, 2023 11:27:54 PM (20 months ago)
Author:
vboxsync
Message:

VBox/types.h,pdmnetifs.h: Replaced PDMDATASEG with RTSGSEG since the two structures are identical. This should make it easy to create a RTSGBUF for a PDMSCATTERGATHER buffer (just limit the operations to cbUsed bytes).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/VMDK.cpp

    r99739 r99963  
    4444#include <iprt/path.h>
    4545#include <iprt/rand.h>
     46#include <iprt/sg.h>
     47#include <iprt/sort.h>
    4648#include <iprt/string.h>
    47 #include <iprt/sort.h>
    4849#include <iprt/zip.h>
    4950#include <iprt/asm.h>
     
    480481     * is too expensive.
    481482     */
    482     PPDMDATASEG     paSegments;
     483    PRTSGSEG        paSegments;
    483484    /** Entries available in the segments array. */
    484485    unsigned        cSegments;
Note: See TracChangeset for help on using the changeset viewer.

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