blob: 71e6cfbe4804724563352f96662da6add684c6fa [file] [log] [blame]
Achin Guptada6ef0e2019-10-11 14:54:48 +01001/*
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
16typedef struct spm_core_manifest_sect_attribute {
17 /*
18 * SPCI version (mandatory).
19 */
20 uint32_t major_version;
21 uint32_t minor_version;
22
23 /*
Achin Guptada6ef0e2019-10-11 14:54:48 +010024 * Run-Time Execution state (optional):
25 * - 0: AArch64 (default)
26 * - 1: AArch32
27 */
28 uint32_t exec_state;
29
30 /*
31 * Address of binary image containing SPM core in bytes (optional).
32 */
33 uint64_t load_address;
34
35 /*
36 * Offset from the base of the partition's binary image to the entry
37 * point of the partition.
38 */
39 uint64_t entrypoint;
40
41 /*
42 * Size of binary image containing SPM core in bytes (mandatory).
43 */
44 uint32_t binary_size;
45
Max Shvetsove79062e2020-03-12 15:16:40 +000046 /*
47 * ID of the SPMD (mandatory)
48 */
49 uint16_t spmc_id;
50
Achin Guptada6ef0e2019-10-11 14:54:48 +010051} spmc_manifest_sect_attribute_t;
52
53#endif /* SPMC_MANIFEST_H */