- Timestamp:
- Feb 1, 2013 1:11:17 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 83546
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevAPIC.cpp
r44311 r44509 5 5 6 6 /* 7 * Copyright (C) 2006-201 1Oracle Corporation7 * Copyright (C) 2006-2013 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as -
trunk/src/VBox/Devices/PC/DevPIC.cpp
r40907 r44509 929 929 { 930 930 PDEVPIC pThis = PDMINS_2_DATA(pDevIns, PDEVPIC); 931 PDMPICREG PicReg;932 931 int rc; 933 932 bool fGCEnabled; … … 973 972 * Register us as the PIC with PDM. 974 973 */ 974 PDMPICREG PicReg; 975 975 PicReg.u32Version = PDM_PICREG_VERSION; 976 976 PicReg.pfnSetIrqR3 = picSetIrq; -
trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
r44351 r44509 318 318 * 319 319 * @remarks No-long-jump zone!!! 320 */320 */ 321 321 VMMDECL(int) PDMApicGetTPR(PVMCPU pVCpu, uint8_t *pu8TPR, bool *pfPending) 322 322 { … … 324 324 if (pVM->pdm.s.Apic.CTX_SUFF(pDevIns)) 325 325 { 326 /* 327 * Note! We don't acquire the PDM lock here as we're just reading 328 * information. Doing so causes massive contention as this 329 * function is called very often by each and every VCPU. 330 */ 326 331 Assert(pVM->pdm.s.Apic.CTX_SUFF(pfnGetTPR)); 327 /* We don't acquire the PDM lock here as we're just reading information. Doing so causes massive328 * contention as this function is called very often by each and every VCPU.329 */330 332 *pu8TPR = pVM->pdm.s.Apic.CTX_SUFF(pfnGetTPR)(pVM->pdm.s.Apic.CTX_SUFF(pDevIns), pVCpu->idCpu); 331 333 if (pfPending)
Note:
See TracChangeset
for help on using the changeset viewer.