Lines Matching refs:pIoApicReg

2924 static DECLCALLBACK(int) pdmR3DevHlp_IOAPICRegister(PPDMDEVINS pDevIns, PPDMIOAPICREG pIoApicReg, PCPDMIOAPICHLPR3 *ppIoApicHlpR3)
2928 LogFlow(("pdmR3DevHlp_IOAPICRegister: caller='%s'/%d: pIoApicReg=%p:{.u32Version=%#x, .pfnSetIrqR3=%p, .pszSetIrqRC=%p:{%s}, .pszSetIrqR0=%p:{%s}} ppIoApicHlpR3=%p\n",
2929 pDevIns->pReg->szName, pDevIns->iInstance, pIoApicReg, pIoApicReg->u32Version, pIoApicReg->pfnSetIrqR3,
2930 pIoApicReg->pszSetIrqRC, pIoApicReg->pszSetIrqRC, pIoApicReg->pszSetIrqR0, pIoApicReg->pszSetIrqR0, ppIoApicHlpR3));
2935 if (pIoApicReg->u32Version != PDM_IOAPICREG_VERSION)
2937 AssertMsgFailed(("u32Version=%#x expected %#x\n", pIoApicReg->u32Version, PDM_IOAPICREG_VERSION));
2941 if (!pIoApicReg->pfnSetIrqR3 || !pIoApicReg->pfnSendMsiR3)
2943 Assert(pIoApicReg->pfnSetIrqR3);
2947 if ( pIoApicReg->pszSetIrqRC
2948 && !VALID_PTR(pIoApicReg->pszSetIrqRC))
2950 Assert(VALID_PTR(pIoApicReg->pszSetIrqRC));
2954 if ( pIoApicReg->pszSendMsiRC
2955 && !VALID_PTR(pIoApicReg->pszSendMsiRC))
2957 Assert(VALID_PTR(pIoApicReg->pszSendMsiRC));
2961 if ( pIoApicReg->pszSetIrqR0
2962 && !VALID_PTR(pIoApicReg->pszSetIrqR0))
2964 Assert(VALID_PTR(pIoApicReg->pszSetIrqR0));
2968 if ( pIoApicReg->pszSendMsiR0
2969 && !VALID_PTR(pIoApicReg->pszSendMsiR0))
2971 Assert(VALID_PTR(pIoApicReg->pszSendMsiR0));
2993 if ( pIoApicReg->pszSetIrqRC
3014 if (pIoApicReg->pszSetIrqRC)
3016 int rc = pdmR3DevGetSymbolRCLazy(pDevIns, pIoApicReg->pszSetIrqRC, &pVM->pdm.s.IoApic.pfnSetIrqRC);
3017 AssertMsgRC(rc, ("%s::%s rc=%Rrc\n", pDevIns->pReg->szRCMod, pIoApicReg->pszSetIrqRC, rc));
3031 if (pIoApicReg->pszSendMsiRC)
3033 int rc = pdmR3DevGetSymbolRCLazy(pDevIns, pIoApicReg->pszSetIrqRC, &pVM->pdm.s.IoApic.pfnSendMsiRC);
3034 AssertMsgRC(rc, ("%s::%s rc=%Rrc\n", pDevIns->pReg->szRCMod, pIoApicReg->pszSendMsiRC, rc));
3049 if (pIoApicReg->pszSetIrqR0)
3051 int rc = pdmR3DevGetSymbolR0Lazy(pDevIns, pIoApicReg->pszSetIrqR0, &pVM->pdm.s.IoApic.pfnSetIrqR0);
3052 AssertMsgRC(rc, ("%s::%s rc=%Rrc\n", pDevIns->pReg->szR0Mod, pIoApicReg->pszSetIrqR0, rc));
3067 if (pIoApicReg->pszSendMsiR0)
3069 int rc = pdmR3DevGetSymbolR0Lazy(pDevIns, pIoApicReg->pszSendMsiR0, &pVM->pdm.s.IoApic.pfnSendMsiR0);
3070 AssertMsgRC(rc, ("%s::%s rc=%Rrc\n", pDevIns->pReg->szR0Mod, pIoApicReg->pszSendMsiR0, rc));
3087 pVM->pdm.s.IoApic.pfnSetIrqR3 = pIoApicReg->pfnSetIrqR3;
3088 pVM->pdm.s.IoApic.pfnSendMsiR3 = pIoApicReg->pfnSendMsiR3;