VirtualBox

Changeset 19475 in vbox for trunk/include


Ignore:
Timestamp:
May 7, 2009 10:55:17 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
47007
Message:

VMM: sending init IPI

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r19468 r19475  
    10271027     * and relocating them. Perhaps doing some kind of device init in GC...
    10281028     *
    1029      * @returns The current TPR.
     1029     * @returns status code.
    10301030     * @param   pDevIns         Device instance of the APIC.
    10311031     * @param   u8Dest          See APIC implementation.
     
    10361036     * @param   u8TriggerMode   See APIC implementation.
    10371037     */
    1038     DECLR3CALLBACKMEMBER(void, pfnBusDeliverR3,(PPDMDEVINS pDevIns, uint8_t u8Dest, uint8_t u8DestMode, uint8_t u8DeliveryMode,
     1038    DECLR3CALLBACKMEMBER(int, pfnBusDeliverR3,(PPDMDEVINS pDevIns, uint8_t u8Dest, uint8_t u8DestMode, uint8_t u8DeliveryMode,
    10391039                                                uint8_t iVector, uint8_t u8Polarity, uint8_t u8TriggerMode));
    10401040
     
    13021302     */
    13031303    DECLR3CALLBACKMEMBER(void,    pfnSendSipi,(PPDMDEVINS pDevIns, VMCPUID idCpu, uint32_t uVector));
     1304   
     1305    /**
     1306     * Sends init IPI to given virtual CPU, should result in reset and
     1307     * halting till SIPI.
     1308     *
     1309     * @param   pDevIns         The APIC device instance.
     1310     * @param   idCpu           Virtual CPU to perform SIPI on
     1311     */
     1312    DECLR3CALLBACKMEMBER(void,    pfnSendInitIpi,(PPDMDEVINS pDevIns, VMCPUID idCpu));
    13041313
    13051314    /**
     
    13801389     * See comments about this hack on PDMAPICREG::pfnBusDeliverR3.
    13811390     *
    1382      * @returns The current TPR.
     1391     * @returns status code.
    13831392     * @param   pDevIns         Device instance of the IOAPIC.
    13841393     * @param   u8Dest          See APIC implementation.
     
    13891398     * @param   u8TriggerMode   See APIC implementation.
    13901399     */
    1391     DECLRCCALLBACKMEMBER(void, pfnApicBusDeliver,(PPDMDEVINS pDevIns, uint8_t u8Dest, uint8_t u8DestMode, uint8_t u8DeliveryMode,
     1400    DECLRCCALLBACKMEMBER(int, pfnApicBusDeliver,(PPDMDEVINS pDevIns, uint8_t u8Dest, uint8_t u8DestMode, uint8_t u8DeliveryMode,
    13921401                                                  uint8_t iVector, uint8_t u8Polarity, uint8_t u8TriggerMode));
    13931402
     
    14341443     * See comments about this hack on PDMAPICREG::pfnBusDeliverR3.
    14351444     *
    1436      * @returns The current TPR.
     1445     * @returns status code.
    14371446     * @param   pDevIns         Device instance of the IOAPIC.
    14381447     * @param   u8Dest          See APIC implementation.
     
    14431452     * @param   u8TriggerMode   See APIC implementation.
    14441453     */
    1445     DECLR0CALLBACKMEMBER(void, pfnApicBusDeliver,(PPDMDEVINS pDevIns, uint8_t u8Dest, uint8_t u8DestMode, uint8_t u8DeliveryMode,
     1454    DECLR0CALLBACKMEMBER(int, pfnApicBusDeliver,(PPDMDEVINS pDevIns, uint8_t u8Dest, uint8_t u8DestMode, uint8_t u8DeliveryMode,
    14461455                                                  uint8_t iVector, uint8_t u8Polarity, uint8_t u8TriggerMode));
    14471456
     
    14871496     * See comments about this hack on PDMAPICREG::pfnBusDeliverR3.
    14881497     *
    1489      * @returns The current TPR.
     1498     * @returns status code
    14901499     * @param   pDevIns         Device instance of the IOAPIC.
    14911500     * @param   u8Dest          See APIC implementation.
     
    14961505     * @param   u8TriggerMode   See APIC implementation.
    14971506     */
    1498     DECLR3CALLBACKMEMBER(void, pfnApicBusDeliver,(PPDMDEVINS pDevIns, uint8_t u8Dest, uint8_t u8DestMode, uint8_t u8DeliveryMode,
     1507    DECLR3CALLBACKMEMBER(int, pfnApicBusDeliver,(PPDMDEVINS pDevIns, uint8_t u8Dest, uint8_t u8DestMode, uint8_t u8DeliveryMode,
    14991508                                                  uint8_t iVector, uint8_t u8Polarity, uint8_t u8TriggerMode));
    15001509
  • trunk/include/VBox/vmm.h

    r19468 r19475  
    160160VMMR3DECL(void)     VMMR3YieldResume(PVM pVM);
    161161VMMR3DECL(void)     VMMR3SendSipi(PVM pVM, VMCPUID idCpu, uint32_t uVector);
     162VMMR3DECL(void)     VMMR3SendInitIpi(PVM pVM, VMCPUID idCpu);
    162163/** @} */
    163164#endif /* IN_RING3 */
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