summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2014-07-14 16:58:03 +0100
committerSoby Mathew <soby.mathew@arm.com>2014-07-28 11:01:49 +0100
commitbc9201289c9ae4ccfc6b11048431d47eba547a44 (patch)
treedf1daa872e1231f48cdc2b2ac524940d82af9398 /docs
parentc67b09bd2cf04cac2160968907f0a9fc65472a11 (diff)
Implement an assert() callable from assembly code
The patch implements a macro ASM_ASSERT() which can be invoked from assembly code. When assertion happens, file name and line number of the check is written to the crash console. Fixes ARM-software/tf-issues#95 Change-Id: I6f905a068e1c0fa4f746d723f18df60daaa00a86
Diffstat (limited to 'docs')
-rw-r--r--docs/user-guide.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/user-guide.md b/docs/user-guide.md
index a4d7f46..41e7606 100644
--- a/docs/user-guide.md
+++ b/docs/user-guide.md
@@ -181,6 +181,11 @@ performed.
BL3-1. This option defaults to the value of `DEBUG` - i.e. by default
this is only enabled for a debug build of the firmware.
+* `ASM_ASSERTION`: This flag determines whether the assertion checks within
+ assembly source files are enabled or not. This option defaults to the
+ value of `DEBUG` - i.e. by default this is only enabled for a debug
+ build of the firmware.
+
### Creating a Firmware Image Package
FIPs are automatically created as part of the build instructions described in