52,57c52,53
< * mode.
< *
< * In order to make the IPR space manageable we always set bit 63
< * (IPR_GENERIC) for accesses that should be handled by the
< * generic ISA code. Architectures may use the rest of the IPR
< * space internally.
---
> * mode. Such IPRs always have the flag GENERIC_IPR set and are
> * handled by this code.
60,65d55
< /** Is this a generic IPR access? */
< const Addr IPR_GENERIC = ULL(0x8000000000000000);
<
< /** @{ */
< /** Mask when extracting the class of a generic IPR */
< const Addr IPR_CLASS_MASK = ULL(0x7FFF000000000000);
68d57
< /** @} */
97c86
< return IPR_GENERIC | (IPR_CLASS_PSEUDO_INST << IPR_CLASS_SHIFT) |
---
> return (IPR_CLASS_PSEUDO_INST << IPR_CLASS_SHIFT) |
116c105,107
< return pkt->getAddr() & IPR_GENERIC;
---
> Request::Flags flags(pkt->req->getFlags());
> return (flags & Request::MMAPPED_IPR) &&
> (flags & Request::GENERIC_IPR);