VirtualBox

Changeset 26143 in vbox for trunk


Ignore:
Timestamp:
Feb 2, 2010 12:51:24 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57150
Message:

Introducing PDMVMMDevHeapIsEnabled

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pdmapi.h

    r25816 r26143  
    5555VMMDECL(int)    PDMApicReadMSR(PVM pVM, VMCPUID iCpu, uint32_t u32Reg, uint64_t *pu64Value);
    5656VMMDECL(int)    PDMVMMDevHeapR3ToGCPhys(PVM pVM, RTR3PTR pv, RTGCPHYS *pGCPhys);
     57VMMDECL(bool)   PDMVMMDevHeapIsEnabled(PVM pVM);
    5758
    5859#ifdef IN_RING3
  • trunk/src/VBox/VMM/VMMAll/PDMAll.cpp

    r21861 r26143  
    380380    return VINF_SUCCESS;
    381381}
     382
     383/**
     384 * Checks if the vmm device heap is enabled (== vmm device's pci region mapped)
     385 *
     386 * @returns dev heap enabled status (true/false)
     387 * @param   pVM             VM handle.
     388 */
     389VMMDECL(bool)   PDMVMMDevHeapIsEnabled(PVM pVM)
     390{
     391    return (pVM->pdm.s.pvVMMDevHeap != NULL);
     392}
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