Implement an assert() callable from assembly code
authorSoby Mathew <soby.mathew@arm.com>
Mon, 14 Jul 2014 15:58:03 +0000 (16:58 +0100)
committerSoby Mathew <soby.mathew@arm.com>
Mon, 28 Jul 2014 10:01:49 +0000 (11:01 +0100)
commitbc9201289c9ae4ccfc6b11048431d47eba547a44
treedf1daa872e1231f48cdc2b2ac524940d82af9398
parentc67b09bd2cf04cac2160968907f0a9fc65472a11
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
Makefile
common/aarch64/assert.S [new file with mode: 0644]
docs/user-guide.md
include/common/assert_macros.S [new file with mode: 0644]
lib/aarch64/misc_helpers.S