VirtualBox

Changeset 52670 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Sep 10, 2014 11:04:10 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95990
Message:

VMM, Devices: Add interface to query the APIC frequency from the APIC device.

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

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

    r49549 r52670  
    5454VMM_INT_DECL(int)       PDMApicWriteMSR(PVM pVM, VMCPUID iCpu, uint32_t u32Reg, uint64_t u64Value);
    5555VMM_INT_DECL(int)       PDMApicReadMSR(PVM pVM, VMCPUID iCpu, uint32_t u32Reg, uint64_t *pu64Value);
     56VMM_INT_DECL(int)       PDMApicGetTimerFreq(PVM pVM, uint64_t *pu64Value);
    5657VMM_INT_DECL(int)       PDMVmmDevHeapR3ToGCPhys(PVM pVM, RTR3PTR pv, RTGCPHYS *pGCPhys);
    5758VMM_INT_DECL(bool)      PDMVmmDevHeapIsEnabled(PVM pVM);
  • trunk/include/VBox/vmm/pdmdev.h

    r51508 r52670  
    11901190    DECLR3CALLBACKMEMBER(int,  pfnLocalInterruptR3,(PPDMDEVINS pDevIns, uint8_t u8Pin, uint8_t u8Level));
    11911191
     1192    /**
     1193     * Get the APIC timer frequency (in Hz).
     1194     *
     1195     * @returns The frequency of the APIC timer.
     1196     * @param   pDevIns         Device instance of the APIC.
     1197     */
     1198    DECLR3CALLBACKMEMBER(uint64_t, pfnGetTimerFreqR3, (PPDMDEVINS pDevIns));
     1199
    11921200    /** The name of the RC GetInterrupt entry point. */
    11931201    const char         *pszGetInterruptRC;
     
    12101218    /** The name of the RC LocalInterrupt entry point. */
    12111219    const char         *pszLocalInterruptRC;
     1220    /** The name of the RC GetTimerFreq entry point. */
     1221    const char         *pszGetTimerFreqRC;
    12121222
    12131223    /** The name of the R0 GetInterrupt entry point. */
     
    12311241    /** The name of the R0 LocalInterrupt entry point. */
    12321242    const char         *pszLocalInterruptR0;
    1233 
     1243    /** The name of the R0 GetTimerFreq entry point. */
     1244    const char         *pszGetTimerFreqR0;
    12341245} PDMAPICREG;
    12351246/** Pointer to an APIC registration structure. */
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