| * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved. |
| * SPDX-License-Identifier: BSD-3-Clause |
| #ifndef SPM_MM_PARTITION_H |
| #define SPM_MM_PARTITION_H |
| #include <lib/utils_def.h> |
| * Flags used by the spm_mm_mp_info structure to describe the |
| * characteristics of a cpu. Only a single flag is defined at the moment to |
| * indicate the primary cpu. |
| #define MP_INFO_FLAG_PRIMARY_CPU U(0x00000001) |
| * This structure is used to provide information required to initialise a S-EL0 |
| typedef struct spm_mm_mp_info { |
| typedef struct spm_mm_boot_info { |
| uint64_t sp_ns_comm_buf_base; |
| uint64_t sp_shared_buf_base; |
| uint64_t sp_pcpu_stack_size; |
| uint64_t sp_ns_comm_buf_size; |
| uint64_t sp_shared_buf_size; |
| uint32_t num_sp_mem_regions; |
| spm_mm_mp_info_t *mp_info; |
| #endif /* SPM_MM_PARTITION_H */ |