blob: 7fe9692b4563aae9b7ac4c736c6908f11e44fad9 [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
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef SPM_SHIM_PRIVATE_H
8#define SPM_SHIM_PRIVATE_H
Antonio Nino Diazc41f2062017-10-24 10:07:35 +01009
Antonio Nino Diaz4b32e622018-08-16 16:52:57 +010010#include <stdint.h>
Antonio Nino Diaze0f90632018-12-14 00:18:21 +000011
12#include <lib/utils_def.h>
Antonio Nino Diazc41f2062017-10-24 10:07:35 +010013
14/* Assembly source */
Joel Hutton5cc3bc82018-03-21 11:40:57 +000015IMPORT_SYM(uintptr_t, spm_shim_exceptions_ptr, SPM_SHIM_EXCEPTIONS_PTR);
Antonio Nino Diazc41f2062017-10-24 10:07:35 +010016
17/* Linker symbols */
Joel Hutton5cc3bc82018-03-21 11:40:57 +000018IMPORT_SYM(uintptr_t, __SPM_SHIM_EXCEPTIONS_START__, SPM_SHIM_EXCEPTIONS_START);
19IMPORT_SYM(uintptr_t, __SPM_SHIM_EXCEPTIONS_END__, SPM_SHIM_EXCEPTIONS_END);
Antonio Nino Diazc41f2062017-10-24 10:07:35 +010020
21/* Definitions */
Antonio Nino Diazc41f2062017-10-24 10:07:35 +010022
Antonio Nino Diazc41f2062017-10-24 10:07:35 +010023#define SPM_SHIM_EXCEPTIONS_SIZE \
24 (SPM_SHIM_EXCEPTIONS_END - SPM_SHIM_EXCEPTIONS_START)
25
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000026#endif /* SPM_SHIM_PRIVATE_H */