mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 18:14:24 +00:00

The codebase was using non-standard headers. It is needed to replace them by the correct ones so that we can use the new libc headers. Change-Id: I530f71d9510cb036e69fe79823c8230afe890b9d Acked-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
49 lines
1.2 KiB
C
49 lines
1.2 KiB
C
/*
|
|
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef __SECURE_PARTITION_H__
|
|
#define __SECURE_PARTITION_H__
|
|
|
|
#include <stdint.h>
|
|
#include <utils_def.h>
|
|
|
|
/*
|
|
* Flags used by the secure_partition_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
|
|
* partition.
|
|
*/
|
|
typedef struct secure_partition_mp_info {
|
|
uint64_t mpidr;
|
|
uint32_t linear_id;
|
|
uint32_t flags;
|
|
} secure_partition_mp_info_t;
|
|
|
|
typedef struct secure_partition_boot_info {
|
|
param_header_t h;
|
|
uint64_t sp_mem_base;
|
|
uint64_t sp_mem_limit;
|
|
uint64_t sp_image_base;
|
|
uint64_t sp_stack_base;
|
|
uint64_t sp_heap_base;
|
|
uint64_t sp_ns_comm_buf_base;
|
|
uint64_t sp_shared_buf_base;
|
|
uint64_t sp_image_size;
|
|
uint64_t sp_pcpu_stack_size;
|
|
uint64_t sp_heap_size;
|
|
uint64_t sp_ns_comm_buf_size;
|
|
uint64_t sp_shared_buf_size;
|
|
uint32_t num_sp_mem_regions;
|
|
uint32_t num_cpus;
|
|
secure_partition_mp_info_t *mp_info;
|
|
} secure_partition_boot_info_t;
|
|
|
|
#endif /* __SECURE_PARTITION_H__ */
|