VirtualBox

Ignore:
Timestamp:
Oct 3, 2008 7:03:26 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37402
Message:

#1865: PDMINS.

File:
1 edited

Legend:

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

    r12939 r12969  
    322322DECLINLINE(void) cpuSetInterrupt(APICDeviceInfo* dev, APICState *s)
    323323{
    324     dev->CTX_SUFF(pApicHlp)->pfnSetInterruptFF(dev->CTX_SUFF(pDevIns), 
     324    dev->CTX_SUFF(pApicHlp)->pfnSetInterruptFF(dev->CTX_SUFF(pDevIns),
    325325                                               getCpuFromLapic(dev, s));
    326326}
     
    328328DECLINLINE(void) cpuClearInterrupt(APICDeviceInfo* dev, APICState *s)
    329329{
    330     dev->CTX_SUFF(pApicHlp)->pfnClearInterruptFF(dev->CTX_SUFF(pDevIns), 
     330    dev->CTX_SUFF(pApicHlp)->pfnClearInterruptFF(dev->CTX_SUFF(pDevIns),
    331331                                                 getCpuFromLapic(dev, s));
    332332}
     
    15591559            default:
    15601560                index = (s->ioregsel - 0x10) >> 1;
    1561                 if (index >= 0 && index < IOAPIC_NUM_PINS) {                   
     1561                if (index >= 0 && index < IOAPIC_NUM_PINS) {
    15621562                    if (s->ioregsel & 1) {
    15631563                        s->ioredtbl[index] &= 0xffffffff;
     
    15761576                        {
    15771577                            /*
    1578                              * Linux 2.6 kernels has pretty strange function 
     1578                             * Linux 2.6 kernels has pretty strange function
    15791579                             * unlock_ExtINT_logic() which writes
    15801580                             * absolutely bogus (all 0) value into the vector
     
    19871987    }
    19881988
    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);
    19911991    if (RT_FAILURE(rc))
    19921992    {
     
    22862286    IoApicReg.pszSetIrqRC = fGCEnabled ? "ioapicSetIrq" : NULL;
    22872287    IoApicReg.pszSetIrqR0 = fR0Enabled ? "ioapicSetIrq" : NULL;
    2288     rc = pDevIns->pDevHlp->pfnIOAPICRegister(pDevIns, &IoApicReg, &s->pIoApicHlpR3);
     2288    rc = pDevIns->pDevHlpR3->pfnIOAPICRegister(pDevIns, &IoApicReg, &s->pIoApicHlpR3);
    22892289    if (RT_FAILURE(rc))
    22902290    {
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