1 /* 2 * Copyright (c) 2020, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef SPMC_MANIFEST_H 8 #define SPMC_MANIFEST_H 9 10 #include <stdint.h> 11 12 /******************************************************************************* 13 * Attribute Section 14 ******************************************************************************/ 15 16 typedef struct spm_core_manifest_sect_attribute { 17 /* 18 * SPCI version (mandatory). 19 */ 20 uint32_t major_version; 21 uint32_t minor_version; 22 23 /* 24 * Run-Time Exception Level (mandatory): 25 * - 1: SEL1 26 * - 2: SEL2 27 */ 28 uint32_t runtime_el; 29 30 /* 31 * Run-Time Execution state (optional): 32 * - 0: AArch64 (default) 33 * - 1: AArch32 34 */ 35 uint32_t exec_state; 36 37 /* 38 * Address of binary image containing SPM core in bytes (optional). 39 */ 40 uint64_t load_address; 41 42 /* 43 * Offset from the base of the partition's binary image to the entry 44 * point of the partition. 45 */ 46 uint64_t entrypoint; 47 48 /* 49 * Size of binary image containing SPM core in bytes (mandatory). 50 */ 51 uint32_t binary_size; 52 53 } spmc_manifest_sect_attribute_t; 54 55 #endif /* SPMC_MANIFEST_H */ 56