| * Copyright (c) 2014-2016, ARM Limited and Contributors. All rights reserved. |
| * SPDX-License-Identifier: BSD-3-Clause |
| #ifndef __ASSERT_MACROS_S__ |
| #define __ASSERT_MACROS_S__ |
| * Assembler macro to enable asm_assert. Use this macro wherever |
| * assert is required in assembly. Please note that the macro makes |
| * use of label '300' to provide the logic and the caller |
| * should make sure that this label is not used to branch prior |
| #define ASM_ASSERT(_cc) \ |
| .ifndef .L_assert_filename ;\ |
| .pushsection .rodata.str1.1, "aS" ;\ |
| adr x0, .L_assert_filename ;\ |
| #endif /* __ASSERT_MACROS_S__ */ |