Change-Id: Ifd493aee9e78b0b4ddcc71e90f48679543acb861
Signed-off-by: Giacomo Gabrielli <giacomo.gabrielli@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19176
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
GenericPageTableFault(Addr va) : vaddr(va) {}
void invoke(ThreadContext * tc, const StaticInstPtr &inst =
StaticInst::nullStaticInstPtr);
+ Addr getFaultVAddr() const { return vaddr; }
};
class GenericAlignmentFault : public FaultBase
GenericAlignmentFault(Addr va) : vaddr(va) {}
void invoke(ThreadContext * tc, const StaticInstPtr &inst =
StaticInst::nullStaticInstPtr);
+ Addr getFaultVAddr() const { return vaddr; }
};
#endif // __FAULTS_HH__