VirtualBox

Ignore:
Timestamp:
May 7, 2019 3:57:37 PM (6 years ago)
Author:
vboxsync
Message:

VMM: More refactoring of GVM & VM structures for bugref:9217

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRC/PDMRCDevice.cpp

    r76553 r78438  
    453453{
    454454    PDMDEV_ASSERT_DEVINS(pDevIns);
     455#ifdef VBOX_BUGREF_9217
     456    PVMCPU pVCpu = &g_VCpu0;        /* for PIC we always deliver to CPU 0, MP use APIC */
     457#else
    455458    PVM pVM = pDevIns->Internal.s.pVMRC;
    456459    PVMCPU pVCpu = &pVM->aCpus[0];  /* for PIC we always deliver to CPU 0, MP use APIC */
     460#endif
    457461    /** @todo r=ramshankar: Propagating rcRZ and make all callers handle it? */
    458462    APICLocalInterrupt(pVCpu, 0 /* u8Pin */, 1 /* u8Level */, VINF_SUCCESS /* rcRZ */);
     
    464468{
    465469    PDMDEV_ASSERT_DEVINS(pDevIns);
     470#ifdef VBOX_BUGREF_9217
     471    PVMCPU pVCpu = &g_VCpu0;        /* for PIC we always deliver to CPU 0, MP use APIC */
     472#else
    466473    PVM pVM = pDevIns->Internal.s.CTX_SUFF(pVM);
    467474    PVMCPU pVCpu = &pVM->aCpus[0];  /* for PIC we always deliver to CPU 0, MP use APIC */
     475#endif
    468476    /** @todo r=ramshankar: Propagating rcRZ and make all callers handle it? */
    469477    APICLocalInterrupt(pVCpu, 0 /* u8Pin */, 0 /* u8Level */, VINF_SUCCESS /* rcRZ */);
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