2 * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
4 * SPDX-License-Identifier: BSD-3-Clause
7 #ifndef SECURE_PARTITION_H
8 #define SECURE_PARTITION_H
13 #include <utils_def.h>
16 * Flags used by the secure_partition_mp_info structure to describe the
17 * characteristics of a cpu. Only a single flag is defined at the moment to
18 * indicate the primary cpu.
20 #define MP_INFO_FLAG_PRIMARY_CPU U(0x00000001)
23 * This structure is used to provide information required to initialise a S-EL0
26 typedef struct secure_partition_mp_info
{
30 } secure_partition_mp_info_t
;
32 typedef struct secure_partition_boot_info
{
35 uint64_t sp_mem_limit
;
36 uint64_t sp_image_base
;
37 uint64_t sp_stack_base
;
38 uint64_t sp_heap_base
;
39 uint64_t sp_ns_comm_buf_base
;
40 uint64_t sp_shared_buf_base
;
41 uint64_t sp_image_size
;
42 uint64_t sp_pcpu_stack_size
;
43 uint64_t sp_heap_size
;
44 uint64_t sp_ns_comm_buf_size
;
45 uint64_t sp_shared_buf_size
;
46 uint32_t num_sp_mem_regions
;
48 secure_partition_mp_info_t
*mp_info
;
49 } secure_partition_boot_info_t
;
51 #endif /* SPM_DEPRECATED */
53 #endif /* SECURE_PARTITION_H */