VirtualBox

Ignore:
Timestamp:
Jan 1, 2016 8:20:34 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104868
Message:

bugref:8087: Additions/x11: support non-root X server: add host flags location reporting to the kernel graphics driver in preparation for adding IRQ handling. Among other things, the host uses the flags, which it places at the location reported/requested by the guest in video RAM, to tell the guest what event the IRQ was sent in response to.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxVideo/HGSMIBase.cpp

    r59179 r59240  
    204204        rc = VERR_NO_MEMORY;
    205205    return rc;
     206}
     207
     208
     209/**
     210 * Inform the host of the location of the host flags in VRAM via an HGSMI
     211 * command.
     212 * @returns  IPRT status value.
     213 * @returns  VERR_NOT_IMPLEMENTED  if the host does not support the command.
     214 * @returns  VERR_NO_MEMORY        if a heap allocation fails.
     215 * @param    pCtx                  the context of the guest heap to use.
     216 * @param    offLocation           the offset chosen for the flags withing guest
     217 *                                 VRAM.
     218 */
     219RTDECL(int) VBoxHGSMIReportFlagsLocation(PHGSMIGUESTCOMMANDCONTEXT pCtx,
     220                                         HGSMIOFFSET offLocation)
     221{
     222    return vboxHGSMIReportFlagsLocation(pCtx, offLocation);
    206223}
    207224
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