summaryrefslogtreecommitdiffstats
path: root/target/arm/cpu.h
diff options
context:
space:
mode:
authorPeter Maydell2017-09-04 16:21:52 +0200
committerPeter Maydell2017-09-04 16:21:52 +0200
commit59e4972c3fc63d981e8b613ebb3bb01a05848075 (patch)
tree79b99f5deb780fddae7c36056eeea6e838fd34fc /target/arm/cpu.h
parenthw/intc/armv7m_nvic.c: Remove out of date comment (diff)
downloadqemu-59e4972c3fc63d981e8b613ebb3bb01a05848075.tar.gz
qemu-59e4972c3fc63d981e8b613ebb3bb01a05848075.tar.xz
qemu-59e4972c3fc63d981e8b613ebb3bb01a05848075.zip
target/arm: Remove incorrect comment about MPU_CTRL
Remove the comment that claims that some MPU_CTRL bits are stored in sctlr_el[1]. This has never been true since MPU_CTRL was added in commit 29c483a50607 -- the comment is a leftover from Michael Davidsaver's original implementation, which I modified not to use sctlr_el[1]; I forgot to delete the comment then. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 1501692241-23310-7-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/cpu.h')
-rw-r--r--target/arm/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index 5932ef1e22..2f2aa872f7 100644
--- a/target/arm/cpu.h
+++ b/target/arm/cpu.h
@@ -416,7 +416,7 @@ typedef struct CPUARMState {
uint32_t dfsr; /* Debug Fault Status Register */
uint32_t mmfar; /* MemManage Fault Address */
uint32_t bfar; /* BusFault Address */
- unsigned mpu_ctrl; /* MPU_CTRL (some bits kept in sctlr_el[1]) */
+ unsigned mpu_ctrl; /* MPU_CTRL */
int exception;
} v7m;