spm_shim_private.h 654 B

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