spm_core_manifest.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. * Copyright (c) 2020, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef SPM_CORE_MANIFEST_H
  7. #define SPM_CORE_MANIFEST_H
  8. #include <stdint.h>
  9. /*******************************************************************************
  10. * Attribute Section
  11. ******************************************************************************/
  12. typedef struct spm_core_manifest_sect_attribute {
  13. /*
  14. * FFA version (mandatory).
  15. */
  16. uint32_t major_version;
  17. uint32_t minor_version;
  18. /*
  19. * Run-Time Execution state (optional):
  20. * - 0: AArch64 (default)
  21. * - 1: AArch32
  22. */
  23. uint32_t exec_state;
  24. /*
  25. * Address of binary image containing SPM Core (optional).
  26. */
  27. uint64_t load_address;
  28. /*
  29. * Offset from the base of the partition's binary image to the entry
  30. * point of the partition (optional).
  31. */
  32. uint64_t entrypoint;
  33. /*
  34. * Size of binary image containing SPM Core in bytes (mandatory).
  35. */
  36. uint32_t binary_size;
  37. /*
  38. * ID of the SPMC (mandatory)
  39. */
  40. uint16_t spmc_id;
  41. } spmc_manifest_attribute_t;
  42. #endif /* SPM_CORE_MANIFEST_H */