blob: 8408d1e043bb81e4225917bacbef4d7730af5d55 [file] [log] [blame]
Antonio Nino Diazc41f2062017-10-24 10:07:35 +01001/*
Joel Hutton5cc3bc82018-03-21 11:40:57 +00002 * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
Antonio Nino Diazc41f2062017-10-24 10:07:35 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef __SPM_SHIM_PRIVATE__
8#define __SPM_SHIM_PRIVATE__
9
10#include <types.h>
Joel Hutton5cc3bc82018-03-21 11:40:57 +000011#include <utils_def.h>
Antonio Nino Diazc41f2062017-10-24 10:07:35 +010012
13/* Assembly source */
Joel Hutton5cc3bc82018-03-21 11:40:57 +000014IMPORT_SYM(uintptr_t, spm_shim_exceptions_ptr, SPM_SHIM_EXCEPTIONS_PTR);
Antonio Nino Diazc41f2062017-10-24 10:07:35 +010015
16/* Linker symbols */
Joel Hutton5cc3bc82018-03-21 11:40:57 +000017IMPORT_SYM(uintptr_t, __SPM_SHIM_EXCEPTIONS_START__, SPM_SHIM_EXCEPTIONS_START);
18IMPORT_SYM(uintptr_t, __SPM_SHIM_EXCEPTIONS_END__, SPM_SHIM_EXCEPTIONS_END);
Antonio Nino Diazc41f2062017-10-24 10:07:35 +010019
20/* Definitions */
Antonio Nino Diazc41f2062017-10-24 10:07:35 +010021
Antonio Nino Diazc41f2062017-10-24 10:07:35 +010022#define SPM_SHIM_EXCEPTIONS_SIZE \
23 (SPM_SHIM_EXCEPTIONS_END - SPM_SHIM_EXCEPTIONS_START)
24
25#endif /* __SPM_SHIM_PRIVATE__ */