Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/arm64/gic_v3.c
Show First 20 Lines • Show All 1,428 Lines • ▼ Show 20 Lines | do { | ||||
} | } | ||||
offset += (GICR_RD_BASE_SIZE + GICR_SGI_BASE_SIZE); | offset += (GICR_RD_BASE_SIZE + GICR_SGI_BASE_SIZE); | ||||
if ((typer & GICR_TYPER_VLPIS) != 0) { | if ((typer & GICR_TYPER_VLPIS) != 0) { | ||||
offset += | offset += | ||||
(GICR_VLPI_BASE_SIZE + GICR_RESERVED_SIZE); | (GICR_VLPI_BASE_SIZE + GICR_RESERVED_SIZE); | ||||
} | } | ||||
} while (offset < rman_get_size(r_res) && | } while (offset < rman_get_size(r_res) && | ||||
(typer & GICR_TYPER_LAST) == 0); | !sc->gic_redists.single && (typer & GICR_TYPER_LAST) == 0); | ||||
} | } | ||||
device_printf(sc->dev, "No Re-Distributor found for CPU%u\n", cpuid); | device_printf(sc->dev, "No Re-Distributor found for CPU%u\n", cpuid); | ||||
return (ENXIO); | return (ENXIO); | ||||
} | } | ||||
static int | static int | ||||
gic_v3_redist_wake(struct gic_v3_softc *sc) | gic_v3_redist_wake(struct gic_v3_softc *sc) | ||||
▲ Show 20 Lines • Show All 267 Lines • Show Last 20 Lines |