diff options
author | Soby Mathew <soby.mathew@arm.com> | 2014-07-14 16:58:03 +0100 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2014-07-28 11:01:49 +0100 |
commit | bc9201289c9ae4ccfc6b11048431d47eba547a44 (patch) | |
tree | df1daa872e1231f48cdc2b2ac524940d82af9398 /docs | |
parent | c67b09bd2cf04cac2160968907f0a9fc65472a11 (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.md | 5 |
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 |