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
Showing
- Makefile 7 additions, 1 deletionMakefile
- common/aarch64/assert.S 141 additions, 0 deletionscommon/aarch64/assert.S
- docs/user-guide.md 5 additions, 0 deletionsdocs/user-guide.md
- include/common/assert_macros.S 46 additions, 0 deletionsinclude/common/assert_macros.S
- lib/aarch64/misc_helpers.S 10 additions, 2 deletionslib/aarch64/misc_helpers.S
Please register or sign in to comment