VirtualBox

Changeset 85030 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jul 1, 2020 3:14:59 PM (4 years ago)
Author:
vboxsync
Message:

Minor edits to comments in VirtioCore.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VirtIO/VirtioCore.h

    r85016 r85030  
    8484 * Each descriptor, e.g. [len, GCPhys] pair in the chain represents either an OUT segment (e.g. guest-to-host)
    8585 * or an IN segment (host-to-guest). A VIRTQBUF is created and retured from a call to virtioCoreR3VirtqAvailBufPeek()
    86  * or virtioCoreR3VirtqAvailBufGet(), which consolodates the VirtIO descriptor chain into a representation, where
    87  * pSgPhysSend is GCPhys s/g buffer containing all of the OUT descriptors and pSgPhysReturn is a GCPhys s/g
    88  * buffer containing all of IN descriptors to be filled with data on the
    89  * host to return to the guest.
     86 * or virtioCoreR3VirtqAvailBufGet(). That function consolodates the VirtIO descriptor chain into a
     87 * representation, where pSgPhysSend is GCPhys s/g buffer containing all of the OUT descriptors and pSgPhysReturn \
     88 * is a GCPhys s/g buffer containing all of IN descriptors to be filled with data on the host to return to the
     89 * guest.
    9090 */
    9191typedef struct VIRTQBUF
     
    445445void  virtioCoreVirtqEnableNotify(PVIRTIOCORE pVirtio, uint16_t uVirtqNbr, bool fEnable);
    446446
    447 /*
     447/**
    448448 * Notifies guest (via ISR or MSI-X) of device configuration change
    449449 *
     
    452452void  virtioCoreNotifyConfigChanged(PVIRTIOCORE pVirtio);
    453453
    454 /*
     454/**
    455455 * Displays the VirtIO spec-related features offered by the core component,
    456456 * as well as which features have been negotiated and accepted or declined by the guest driver,
     
    483483void  virtioCoreR3VirtqInfo(PPDMDEVINS pDevIns, PCDBGFINFOHLP pHlp, const char *pszArgs, int uVirtqNbr);
    484484
    485 /*
     485/**
    486486 * Returns the number of avail bufs in the virtq.
    487487 *
     
    515515
    516516/**
    517  * This functionf fetches the next buffer (descriptor chain) from the VirtIO "avail" ring of
     517 * This function fetches the next buffer (descriptor chain) from the VirtIO "avail" ring of
    518518 * indicated queue, and converts the buf's s/g vectors into OUT (e.g. guest-to-host)
    519519 * components and and IN (host-to-guest) components.
     
    614614
    615615/**
    616  * Add some bytes out of a virtq (s/g) buffer, converting them from virtual memory to GCPhys
     616 * Add some bytes to a virtq (s/g) buffer, converting them from virtual memory to GCPhys
    617617 *
    618618 * To be performant it is left to the caller to validate the size of the buffer with regard
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