mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 02:24:18 +00:00
feat(drtm): add platform API to retrieve ACPI tables region size
Introduces a platform-specific API to retrieve the ACPI table region size. This will be used in a subsequent patch to specify the minimum DLME size requirement for the DCE preamble. Change-Id: I44ce9241733b22fea3cbce9d42f1c2cc5ef20852 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
This commit is contained in:
parent
bac623d186
commit
7792bdbdf9
2 changed files with 16 additions and 4 deletions
|
@ -1001,7 +1001,7 @@ Function : plat_drtm_get_min_size_normal_world_dce()
|
||||||
This function returns the size normal-world DCE of the platform.
|
This function returns the size normal-world DCE of the platform.
|
||||||
|
|
||||||
Function : plat_drtm_get_imp_def_dlme_region_size()
|
Function : plat_drtm_get_imp_def_dlme_region_size()
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
@ -1012,7 +1012,7 @@ This function returns the size of implementation defined DLME region
|
||||||
of the platform.
|
of the platform.
|
||||||
|
|
||||||
Function : plat_drtm_get_tcb_hash_table_size()
|
Function : plat_drtm_get_tcb_hash_table_size()
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
@ -1021,8 +1021,18 @@ Function : plat_drtm_get_tcb_hash_table_size()
|
||||||
|
|
||||||
This function returns the size of TCB hash table of the platform.
|
This function returns the size of TCB hash table of the platform.
|
||||||
|
|
||||||
|
Function : plat_drtm_get_acpi_tables_region_size()
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
Argument : void
|
||||||
|
Return : uint64_t
|
||||||
|
|
||||||
|
This function returns the size of ACPI tables region of the platform.
|
||||||
|
|
||||||
Function : plat_drtm_get_tcb_hash_features()
|
Function : plat_drtm_get_tcb_hash_features()
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2022-2024, Arm Limited. All rights reserved.
|
* Copyright (c) 2022-2025, Arm Limited. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -59,6 +59,8 @@ uint64_t plat_drtm_get_min_size_normal_world_dce(void);
|
||||||
uint64_t plat_drtm_get_tcb_hash_table_size(void);
|
uint64_t plat_drtm_get_tcb_hash_table_size(void);
|
||||||
uint64_t plat_drtm_get_imp_def_dlme_region_size(void);
|
uint64_t plat_drtm_get_imp_def_dlme_region_size(void);
|
||||||
uint64_t plat_drtm_get_tcb_hash_features(void);
|
uint64_t plat_drtm_get_tcb_hash_features(void);
|
||||||
|
uint64_t plat_drtm_get_acpi_tables_region_size(void);
|
||||||
|
|
||||||
|
|
||||||
/* DRTM error handling functions */
|
/* DRTM error handling functions */
|
||||||
int plat_set_drtm_error(uint64_t error_code);
|
int plat_set_drtm_error(uint64_t error_code);
|
||||||
|
|
Loading…
Add table
Reference in a new issue