diff options
author | Olivier Deprez <olivier.deprez@arm.com> | 2020-04-16 13:39:06 +0200 |
---|---|---|
committer | Olivier Deprez <olivier.deprez@arm.com> | 2020-05-13 08:08:39 +0200 |
commit | 52696946ab3f441496436ad7223cb2bd853c8beb (patch) | |
tree | 0c535f247b619a3e9a4ec6ce30e49fd593470897 /include/services | |
parent | 4e2887f2da05dc510e9ce1e9d648ef2b5d745649 (diff) | |
download | arm-trusted-firmware-52696946ab3f441496436ad7223cb2bd853c8beb.tar.gz |
SPMD: code/comments cleanup
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
Diffstat (limited to 'include/services')
-rw-r--r-- | include/services/spm_core_manifest.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/services/spm_core_manifest.h b/include/services/spm_core_manifest.h index 71e6cfbe4..0c4363691 100644 --- a/include/services/spm_core_manifest.h +++ b/include/services/spm_core_manifest.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef SPMC_MANIFEST_H -#define SPMC_MANIFEST_H +#ifndef SPM_CORE_MANIFEST_H +#define SPM_CORE_MANIFEST_H #include <stdint.h> @@ -28,18 +28,18 @@ typedef struct spm_core_manifest_sect_attribute { uint32_t exec_state; /* - * Address of binary image containing SPM core in bytes (optional). + * 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. + * point of the partition (optional). */ uint64_t entrypoint; /* - * Size of binary image containing SPM core in bytes (mandatory). + * Size of binary image containing SPM Core in bytes (mandatory). */ uint32_t binary_size; @@ -48,6 +48,6 @@ typedef struct spm_core_manifest_sect_attribute { */ uint16_t spmc_id; -} spmc_manifest_sect_attribute_t; +} spmc_manifest_attribute_t; -#endif /* SPMC_MANIFEST_H */ +#endif /* SPM_CORE_MANIFEST_H */ |