summaryrefslogtreecommitdiff
path: root/plat/arm/fvp
diff options
context:
space:
mode:
authornabkah01 <nabil.kahlouche@arm.com>2022-03-22 12:37:19 +0000
committernabkah01 <nabil.kahlouche@arm.com>2022-05-18 15:06:17 +0100
commitbf00f8d659be9c285ea9465e0f50fec3aca7acc2 (patch)
treecd947b9dc82976d613cfd43906e80f8ce3c991d5 /plat/arm/fvp
parentd5c67b889678d4e05ab4c43c590e11aa8b58e7f0 (diff)
test(tftf): prevent secure region access from nwd
This change adds a TFTF test attempting an access to a memory region marked Secure in the GPT. It is expected this results in a GPF data abort being caught on the PE. Signed-off-by: Nabil Kahlouche <nabil.kahlouche@arm.com> Change-Id: I016775e6a8ba7b398c5770c0a296c09898ebd706
Diffstat (limited to 'plat/arm/fvp')
-rw-r--r--plat/arm/fvp/include/platform_def.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plat/arm/fvp/include/platform_def.h b/plat/arm/fvp/include/platform_def.h
index fffacfc..2a12fde 100644
--- a/plat/arm/fvp/include/platform_def.h
+++ b/plat/arm/fvp/include/platform_def.h
@@ -70,7 +70,7 @@
* RME enabled(64MB) RME not enabled(16MB)
* 0xFC00_0000 -------------------- ------------------- 0xFF00_0000
* | | | |
- * | AP Secure (~28MB)| | AP TZC (~14MB) |
+ * 0xFD000000 | AP Secure (~28MB)| | AP TZC (~14MB) |
* -------------------- ------------------- 0xFFE0_0000
* | | | |
* | REALM (32MB) | | EL3 TZC (2MB) |
@@ -86,6 +86,7 @@
*/
/* For both RME & non-RME case top 2MB will be EL3 memory */
#define EL3_MEMORY_ACCESS_ADDR U(0xFFE00000)
+#define SECURE_MEMORY_ACCESS_ADDR U(0xFD000000)
/*******************************************************************************
* Base address and size for the FIP that contains FWU images.