PMAP_OBIO
oba->oba_paddr = BUS_ADDR(PMAP_OBIO, addr);
pgtype = PMAP_T2PTE_4(PMAP_OBIO);
{ 0, 0, PMAP_OBIO, SBUS_ADDR(0,0), 1 << 25 },
{ 1, 0, PMAP_OBIO, SBUS_ADDR(1,0), 1 << 25 },
{ 2, 0, PMAP_OBIO, SBUS_ADDR(2,0), 1 << 25 },
{ 3, 0, PMAP_OBIO, SBUS_ADDR(3,0), 1 << 25 }
INT_ENABLE_REG_PHYSADR | PMAP_NC | PMAP_OBIO,
if (find_prom_map(zs0_phys, PMAP_OBIO, sizeof(struct zsdevice), &va))
return bus_space_map2(sc->sc_bustag, PMAP_OBIO, paddr, size,
return bus_space_mmap2(sc->sc_bustag, PMAP_OBIO, paddr, off,
#if (PMAP_OBIO << PG_MOD_SHIFT) != PGT_OBIO
if (find_prom_map(zs_physaddr[i], PMAP_OBIO,
if (find_prom_map(pa, PMAP_OBIO, sz, &va) == 0)
{ PMAP_OBIO, 0, OBIO_MASK },
if (find_prom_map(IREG_ADDR, PMAP_OBIO, 1, &va) != 0) {
find_prom_map(OBIO_DIAGREG, PMAP_OBIO, 1, &va);
if (find_prom_map(*rmp, PMAP_OBIO, PAGE_SIZE, &va) != 0) {
return bus_space_map2(sc->sc_bustag, PMAP_OBIO, paddr, size,
return bus_space_mmap2(sc->sc_bustag, PMAP_OBIO, paddr, off, prot,
#if (PMAP_OBIO << PG_MOD_SHIFT) != PGT_OBIO
if (find_prom_map(pa, PMAP_OBIO, sz, &va) == 0)
find_prom_map(OBIO_ENABLEREG, PMAP_OBIO, 2, &va);
find_prom_map(OBIO_IDPROM1, PMAP_OBIO, IDPROM_SIZE, &va);
find_prom_map(OBIO_IDPROM2, PMAP_OBIO, IDPROM_SIZE, &va);
return bus_space_map2(sc->sc_bustag, PMAP_OBIO, paddr, size,
return bus_space_mmap2(sc->sc_bustag, PMAP_OBIO, paddr, off, prot,