spm_core_manifest.h 1.06 KB
Newer Older
1
2
3
4
5
6
/*
 * Copyright (c) 2020, Arm Limited. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

Olivier Deprez's avatar
Olivier Deprez committed
7
8
#ifndef SPM_CORE_MANIFEST_H
#define SPM_CORE_MANIFEST_H
9
10
11
12
13
14
15
16
17

#include <stdint.h>

/*******************************************************************************
 * Attribute Section
 ******************************************************************************/

typedef struct spm_core_manifest_sect_attribute {
	/*
J-Alves's avatar
J-Alves committed
18
	 * FFA version (mandatory).
19
20
21
22
23
24
25
26
27
28
29
30
	 */
	uint32_t major_version;
	uint32_t minor_version;

	/*
	 * Run-Time Execution state (optional):
	 * - 0: AArch64 (default)
	 * - 1: AArch32
	 */
	uint32_t exec_state;

	/*
Olivier Deprez's avatar
Olivier Deprez committed
31
	 * Address of binary image containing SPM Core (optional).
32
33
34
35
36
	 */
	uint64_t load_address;

	/*
	 * Offset from the base of the partition's binary image to the entry
Olivier Deprez's avatar
Olivier Deprez committed
37
	 * point of the partition (optional).
38
39
40
41
	 */
	uint64_t entrypoint;

	/*
Olivier Deprez's avatar
Olivier Deprez committed
42
	 * Size of binary image containing SPM Core in bytes (mandatory).
43
44
45
	 */
	uint32_t binary_size;

46
47
48
49
50
	/*
	 * ID of the SPMD (mandatory)
	 */
	uint16_t spmc_id;

Olivier Deprez's avatar
Olivier Deprez committed
51
} spmc_manifest_attribute_t;
52

Olivier Deprez's avatar
Olivier Deprez committed
53
#endif /* SPM_CORE_MANIFEST_H */