1 /* 2 * SPDX-License-Identifier: BSD-3-Clause 3 * SPDX-FileCopyrightText: Copyright TF-RMM Contributors. 4 */ 5 6 #ifndef IMPORT_SYM_H 7 #define IMPORT_SYM_H 8 9 /* 10 * Emulates the import of an assembly or linker symbol as a C expression 11 * with the specified type. 12 */ 13 #define IMPORT_SYM(type, sym, name) \ 14 static const __attribute__((unused)) type name = (type)(sym) 15 16 #endif /* IMPORT_SYM_H */ 17