From f65c190d0b0185ca2965d09149f33cb78555a1bf Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Tue, 16 Feb 2016 13:21:04 -0600 Subject: arm: Add support for memory-mapped m5ops Add support for a memory mapped m5op interface. When enabled, the TLB intercepts accesses in the 64KiB region designated by the ArmTLB.m5ops_base parameter. An access to this range maps to a specific m5op call. The upper 8 bits of the offset into the range denote the m5op function to call and the lower 8 bits denote the subfunction. Change-Id: I55fd8ac1afef4c3cc423b973870c9fe600a843a2 Signed-off-by: Andreas Sandberg Reviewed-by: Nikos Nikoleris Reviewed-on: https://gem5-review.googlesource.com/2964 --- src/arch/arm/tlb.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/arch/arm/tlb.hh') diff --git a/src/arch/arm/tlb.hh b/src/arch/arm/tlb.hh index f4530a219..f5849f3e3 100644 --- a/src/arch/arm/tlb.hh +++ b/src/arch/arm/tlb.hh @@ -393,6 +393,8 @@ protected: bool haveVirtualization; bool haveLargeAsid64; + AddrRange m5opRange; + void updateMiscReg(ThreadContext *tc, ArmTranslationType tranType = NormalTran); -- cgit v1.2.3