VirtualBox

Changeset 38850 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 23, 2011 1:35:29 PM (13 years ago)
Author:
vboxsync
Message:

DevIoApic.cpp: PDM provides locking via the helper interface, make the device critical section a NOP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevIoApic.cpp

    r37637 r38850  
    596596     * Initialize the state data.
    597597     */
    598 
    599598    s->pDevInsR3 = pDevIns;
    600599    s->pDevInsR0 = PDMDEVINS_2_R0PTR(pDevIns);
     
    602601    ioapic_reset(s);
    603602    s->id = cCpus;
     603
     604    /* PDM provides locking via the IOAPIC helpers. */
     605    rc = PDMDevHlpSetDeviceCritSect(pDevIns, PDMDevHlpCritSectGetNop(pDevIns));
     606    AssertRCReturn(rc, rc);
    604607
    605608    /*
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