1 /* 2 * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef SPM_MM_SHIM_PRIVATE_H 8 #define SPM_MM_SHIM_PRIVATE_H 9 10 #include <stdint.h> 11 12 #include <lib/utils_def.h> 13 14 /* Assembly source */ 15 IMPORT_SYM(uintptr_t, spm_shim_exceptions_ptr, SPM_SHIM_EXCEPTIONS_PTR); 16 17 /* Linker symbols */ 18 IMPORT_SYM(uintptr_t, __SPM_SHIM_EXCEPTIONS_START__, SPM_SHIM_EXCEPTIONS_START); 19 IMPORT_SYM(uintptr_t, __SPM_SHIM_EXCEPTIONS_END__, SPM_SHIM_EXCEPTIONS_END); 20 21 /* Definitions */ 22 23 #define SPM_SHIM_EXCEPTIONS_SIZE \ 24 (SPM_SHIM_EXCEPTIONS_END - SPM_SHIM_EXCEPTIONS_START) 25 26 #endif /* SPM_MM_SHIM_PRIVATE_H */ 27