blob: ad953cde75a3f42e8de5c225a6a67adef8e46054 [file] [log] [blame]
Antonio Nino Diazc41f2062017-10-24 10:07:35 +01001/*
2 * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef __SPM_SHIM_PRIVATE__
8#define __SPM_SHIM_PRIVATE__
9
10#include <types.h>
11
12/* Assembly source */
13extern uintptr_t spm_shim_exceptions_ptr;
14
15/* Linker symbols */
16extern uintptr_t __SPM_SHIM_EXCEPTIONS_START__;
17extern uintptr_t __SPM_SHIM_EXCEPTIONS_END__;
18
19/* Definitions */
20#define SPM_SHIM_EXCEPTIONS_PTR (uintptr_t)(&spm_shim_exceptions_ptr)
21
22#define SPM_SHIM_EXCEPTIONS_START \
23 (uintptr_t)(&__SPM_SHIM_EXCEPTIONS_START__)
24#define SPM_SHIM_EXCEPTIONS_END \
25 (uintptr_t)(&__SPM_SHIM_EXCEPTIONS_END__)
26#define SPM_SHIM_EXCEPTIONS_SIZE \
27 (SPM_SHIM_EXCEPTIONS_END - SPM_SHIM_EXCEPTIONS_START)
28
29#endif /* __SPM_SHIM_PRIVATE__ */