summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-21 14:15:07 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-21 14:15:07 +0000
commit3df708eb48180fcf11956b81fd6a036cd13ed5f1 (patch)
tree08a7b060dd243bd1f23746c462001372b7b8ae74 /include
parent1d939a68afe1673441250b495ed2e5f9b568a2fb (diff)
downloadqemu-3df708eb48180fcf11956b81fd6a036cd13ed5f1.tar.gz
qemu-3df708eb48180fcf11956b81fd6a036cd13ed5f1.tar.bz2
qemu-3df708eb48180fcf11956b81fd6a036cd13ed5f1.zip
hw/arm/virt: add secure memory region and UART
Add a secure memory region to the virt board, which is the same as the nonsecure memory region except that it also has a secure-only UART in it. This is only created if the board is started with the '-machine secure=on' property. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'include')
-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 925faa7249..1ce7847ae6 100644
--- a/include/hw/arm/virt.h
+++ b/include/hw/arm/virt.h
@@ -60,6 +60,7 @@ enum {
VIRT_PLATFORM_BUS,
VIRT_PCIE_MMIO_HIGH,
VIRT_GPIO,
+ VIRT_SECURE_UART,
};
typedef struct MemMapEntry {