summaryrefslogtreecommitdiff
path: root/bl1/bl1_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'bl1/bl1_private.h')
-rw-r--r--bl1/bl1_private.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/bl1/bl1_private.h b/bl1/bl1_private.h
index b54bf6ba..0a8fc45c 100644
--- a/bl1/bl1_private.h
+++ b/bl1/bl1_private.h
@@ -31,6 +31,15 @@
#ifndef __BL1_PRIVATE_H__
#define __BL1_PRIVATE_H__
+/*******************************************************************************
+ * Declarations of linker defined symbols which will tell us where BL1 lives
+ * in Trusted RAM
+ ******************************************************************************/
+extern uint64_t __BL1_RAM_START__;
+extern uint64_t __BL1_RAM_END__;
+#define BL1_RAM_BASE (uint64_t)(&__BL1_RAM_START__)
+#define BL1_RAM_LIMIT (uint64_t)(&__BL1_RAM_END__)
+
/******************************************
* Function prototypes
*****************************************/