pghw_find_pg
extern pghw_t *pghw_find_pg(cpu_t *, pghw_type_t);
chip_pg = (pg_t *)pghw_find_pg(cpu, PGHW_CHIP);
chip_pg = (pg_cmt_t *)pghw_find_pg(cpu[cpuid], PGHW_CHIP);
pg = (pg_t *)pghw_find_pg(cpup, PGHW_CHIP);