spm_core_manifest.h 1.05 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 * Copyright (c) 2020, Arm Limited. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef SPMC_MANIFEST_H
#define SPMC_MANIFEST_H

#include <stdint.h>

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

typedef struct spm_core_manifest_sect_attribute {
	/*
	 * SPCI version (mandatory).
	 */
	uint32_t major_version;
	uint32_t minor_version;

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

	/*
	 * Address of binary image containing SPM core in bytes (optional).
	 */
	uint64_t load_address;

	/*
	 * Offset from the base of the partition's binary image to the entry
	 * point of the partition.
	 */
	uint64_t entrypoint;

	/*
	 * Size of binary image containing SPM core in bytes (mandatory).
	 */
	uint32_t binary_size;

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

51
52
53
} spmc_manifest_sect_attribute_t;

#endif /* SPMC_MANIFEST_H */