more functionality from the mips pmap and try to make it more common to ease the transition for mips in the future.