summaryrefslogtreecommitdiff
path: root/include/common/bl_common.h
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2015-04-29 17:04:51 +0100
committerdanh-arm <dan.handley@arm.com>2015-04-29 17:04:51 +0100
commit4731e8f0f1f43386b8280db81f5db588ae7b4ccc (patch)
tree61c5361b9124f61a9516a55e1db176c410fa3b03 /include/common/bl_common.h
parent6403a306664a9cca92f413500e5389cae77dd816 (diff)
parent4a75b84ae600122dccbca5e00432b73f6116153e (diff)
Merge pull request #295 from danh-arm/dh/plat-port-reorg
ARM platform port reorganization
Diffstat (limited to 'include/common/bl_common.h')
-rw-r--r--include/common/bl_common.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/common/bl_common.h b/include/common/bl_common.h
index b36c9d35..33b75f18 100644
--- a/include/common/bl_common.h
+++ b/include/common/bl_common.h
@@ -110,6 +110,26 @@
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
+/*
+ * Declarations of linker defined symbols to help determine memory layout of
+ * BL images
+ */
+extern unsigned long __RO_START__;
+extern unsigned long __RO_END__;
+#if IMAGE_BL2
+extern unsigned long __BL2_END__;
+#elif IMAGE_BL31
+extern unsigned long __BL31_END__;
+#elif IMAGE_BL32
+extern unsigned long __BL32_END__;
+#endif /* IMAGE_BLX */
+
+#if USE_COHERENT_MEM
+extern unsigned long __COHERENT_RAM_START__;
+extern unsigned long __COHERENT_RAM_END__;
+#endif
+
+
/*******************************************************************************
* Structure used for telling the next BL how much of a particular type of
* memory is available for its use and how much is already used.