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

As a follow-up to bdd2596d4
, and related to SPM Dispatcher
EL3 component and SPM Core S-EL2/S-EL1 component: update
with cosmetic and coding rules changes. In addition:
-Add Armv8.4-SecEL2 arch detection helper.
-Add an SPMC context (on current core) get helper.
-Return more meaningful error return codes.
-Remove complexity in few spmd_smc_handler switch-cases.
-Remove unused defines and structures from spmd_private.h
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
Change-Id: I99e642450b0dafb19d3218a2f0e2d3107e8ca3fe
53 lines
1.1 KiB
C
53 lines
1.1 KiB
C
/*
|
|
* Copyright (c) 2020, Arm Limited. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef SPM_CORE_MANIFEST_H
|
|
#define SPM_CORE_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 (optional).
|
|
*/
|
|
uint64_t load_address;
|
|
|
|
/*
|
|
* Offset from the base of the partition's binary image to the entry
|
|
* point of the partition (optional).
|
|
*/
|
|
uint64_t entrypoint;
|
|
|
|
/*
|
|
* Size of binary image containing SPM Core in bytes (mandatory).
|
|
*/
|
|
uint32_t binary_size;
|
|
|
|
/*
|
|
* ID of the SPMD (mandatory)
|
|
*/
|
|
uint16_t spmc_id;
|
|
|
|
} spmc_manifest_attribute_t;
|
|
|
|
#endif /* SPM_CORE_MANIFEST_H */
|