summaryrefslogtreecommitdiff
path: root/include/hw/arm
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-03-04 11:30:17 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-03-04 11:30:17 +0000
commit83ec1923cdc794de7a782e99e26daa1d91ca14e9 (patch)
tree7c2bfe6990327aec6d16c13f970ebe9d0be12eaa /include/hw/arm
parent8b41c30525a529ee69505909908a704fc134d21b (diff)
downloadqemu-83ec1923cdc794de7a782e99e26daa1d91ca14e9.tar.gz
qemu-83ec1923cdc794de7a782e99e26daa1d91ca14e9.tar.bz2
qemu-83ec1923cdc794de7a782e99e26daa1d91ca14e9.zip
hw/arm/virt: Provide a secure-only RAM if booting in Secure mode
If we're booting in Secure mode, provide a secure-only RAM (just 16MB) so that secure firmware has somewhere to run from that won't be accessible to the Non-secure guest. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1455288361-30117-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/arm')
-rw-r--r--include/hw/arm/virt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/arm/virt.h b/include/hw/arm/virt.h
index 1ce7847ae6..ecd8589603 100644
--- a/include/hw/arm/virt.h
+++ b/include/hw/arm/virt.h
@@ -61,6 +61,7 @@ enum {
VIRT_PCIE_MMIO_HIGH,
VIRT_GPIO,
VIRT_SECURE_UART,
+ VIRT_SECURE_MEM,
};
typedef struct MemMapEntry {