OSDN Git Service

target-arm: Implement AArch64 view of CONTEXTIDR
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Apr 2014 18:18:45 +0000 (19:18 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Apr 2014 20:34:05 +0000 (21:34 +0100)
commit014406b510faae91b801c8c6fd408a7609f6de0b
tree266f04a3f2b64fb055a29d0c54b8e5ba849ca4a1
parent0ff644a786aa041a8616ce449382806d8e29d04c
target-arm: Implement AArch64 view of CONTEXTIDR

Implement AArch64 view of the CONTEXTIDR register.
We tighten up the condition when we flush the TLB on a CONTEXTIDR
write to avoid needlessly flushing the TLB every time on a 64
bit system (and also on a 32 bit system using LPAE, as a bonus).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
target-arm/cpu.h
target-arm/helper.c