Changeset 12969 in vbox for trunk/src/VBox/Devices/PC/DevAPIC.cpp
- Timestamp:
- Oct 3, 2008 7:03:26 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 37402
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevAPIC.cpp
r12939 r12969 322 322 DECLINLINE(void) cpuSetInterrupt(APICDeviceInfo* dev, APICState *s) 323 323 { 324 dev->CTX_SUFF(pApicHlp)->pfnSetInterruptFF(dev->CTX_SUFF(pDevIns), 324 dev->CTX_SUFF(pApicHlp)->pfnSetInterruptFF(dev->CTX_SUFF(pDevIns), 325 325 getCpuFromLapic(dev, s)); 326 326 } … … 328 328 DECLINLINE(void) cpuClearInterrupt(APICDeviceInfo* dev, APICState *s) 329 329 { 330 dev->CTX_SUFF(pApicHlp)->pfnClearInterruptFF(dev->CTX_SUFF(pDevIns), 330 dev->CTX_SUFF(pApicHlp)->pfnClearInterruptFF(dev->CTX_SUFF(pDevIns), 331 331 getCpuFromLapic(dev, s)); 332 332 } … … 1559 1559 default: 1560 1560 index = (s->ioregsel - 0x10) >> 1; 1561 if (index >= 0 && index < IOAPIC_NUM_PINS) { 1561 if (index >= 0 && index < IOAPIC_NUM_PINS) { 1562 1562 if (s->ioregsel & 1) { 1563 1563 s->ioredtbl[index] &= 0xffffffff; … … 1576 1576 { 1577 1577 /* 1578 * Linux 2.6 kernels has pretty strange function 1578 * Linux 2.6 kernels has pretty strange function 1579 1579 * unlock_ExtINT_logic() which writes 1580 1580 * absolutely bogus (all 0) value into the vector … … 1987 1987 } 1988 1988 1989 Assert(pDevIns->pDevHlp ->pfnAPICRegister);1990 rc = pDevIns->pDevHlp ->pfnAPICRegister(pDevIns, &ApicReg, &pThis->pApicHlpR3);1989 Assert(pDevIns->pDevHlpR3->pfnAPICRegister); 1990 rc = pDevIns->pDevHlpR3->pfnAPICRegister(pDevIns, &ApicReg, &pThis->pApicHlpR3); 1991 1991 if (RT_FAILURE(rc)) 1992 1992 { … … 2286 2286 IoApicReg.pszSetIrqRC = fGCEnabled ? "ioapicSetIrq" : NULL; 2287 2287 IoApicReg.pszSetIrqR0 = fR0Enabled ? "ioapicSetIrq" : NULL; 2288 rc = pDevIns->pDevHlp ->pfnIOAPICRegister(pDevIns, &IoApicReg, &s->pIoApicHlpR3);2288 rc = pDevIns->pDevHlpR3->pfnIOAPICRegister(pDevIns, &IoApicReg, &s->pIoApicHlpR3); 2289 2289 if (RT_FAILURE(rc)) 2290 2290 {
Note:
See TracChangeset
for help on using the changeset viewer.