return our PIC's xref */
| 479 | |
| 480 | /** return our PIC's xref */ |
| 481 | static uintptr_t |
| 482 | bcm_mips_pic_xref(struct bcm_mips_softc *sc) |
| 483 | { |
| 484 | uintptr_t xref; |
| 485 | |
| 486 | /* Determine our interrupt domain */ |
| 487 | xref = BHND_BUS_GET_INTR_DOMAIN(device_get_parent(sc->dev), sc->dev, |
| 488 | true); |
| 489 | KASSERT(xref != 0, ("missing interrupt domain")); |
| 490 | |
| 491 | return (xref); |
| 492 | } |
| 493 | |
| 494 | /** |
| 495 | * Walk up the device tree from @p dev until we find a bhnd-attached core, |
no test coverage detected