VirtualBox

Ignore:
Timestamp:
Apr 16, 2009 11:41:38 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
46003
Message:

Big step to separate VMM data structures for guest SMP. (pgm, em)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMDevMiscHlp.cpp

    r13820 r18927  
    5353    /* for PIC we always deliver to CPU 0, MP use APIC */
    5454    VMCPU_FF_SET(pVM, 0, VM_FF_INTERRUPT_PIC);
    55     REMR3NotifyInterruptSet(pVM);
     55    REMR3NotifyInterruptSet(pVM, VMMGetCpu(pVM));
    5656    VMR3NotifyFF(pVM, true); /** @todo SMP: notify the right cpu. */
    5757}
     
    6767    /* for PIC we always deliver to CPU 0, MP use APIC */
    6868    VMCPU_FF_CLEAR(pDevIns->Internal.s.pVMR3, 0, VM_FF_INTERRUPT_PIC);
    69     REMR3NotifyInterruptClear(pDevIns->Internal.s.pVMR3);
     69    REMR3NotifyInterruptClear(pDevIns->Internal.s.pVMR3, VMMGetCpu(pDevIns->Internal.s.pVMR3));
    7070}
    7171
     
    150150
    151151    VMCPU_FF_SET(pVM, idCpu, VM_FF_INTERRUPT_APIC);
    152     REMR3NotifyInterruptSet(pVM);
     152    REMR3NotifyInterruptSet(pVM, VMMGetCpu(pVM));
    153153    VMR3NotifyFF(pVM, true);  /** @todo SMP: notify the right cpu. */
    154154}
     
    163163
    164164    VMCPU_FF_CLEAR(pDevIns->Internal.s.pVMR3, idCpu, VM_FF_INTERRUPT_APIC);
    165     REMR3NotifyInterruptClear(pDevIns->Internal.s.pVMR3);
     165    REMR3NotifyInterruptClear(pDevIns->Internal.s.pVMR3, VMMGetCpu(pDevIns->Internal.s.pVMR3));
    166166}
    167167
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