mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-15 00:54:22 +00:00
fix(drtm): add missing DLME data regions for min size requirement
Ensure compliance with minimum size requirements by including the missing DLME data regions, such as the DLME data header and ACPI region size. This will prevent incorrect allocation of DLME data regions in the DCE preamble. Change-Id: Ic493262152dfe39eb2d54f8771f19651be042288 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
This commit is contained in:
parent
5d377555e8
commit
a65fa57b12
1 changed files with 5 additions and 1 deletions
|
@ -104,12 +104,16 @@ int drtm_setup(void)
|
|||
dlme_data_hdr_init.dlme_addr_map_size = drtm_get_address_map_size();
|
||||
dlme_data_hdr_init.dlme_tcb_hashes_table_size =
|
||||
plat_drtm_get_tcb_hash_table_size();
|
||||
dlme_data_hdr_init.dlme_acpi_tables_region_size =
|
||||
plat_drtm_get_acpi_tables_region_size();
|
||||
dlme_data_hdr_init.dlme_impdef_region_size =
|
||||
plat_drtm_get_imp_def_dlme_region_size();
|
||||
|
||||
dlme_data_min_size += dlme_data_hdr_init.dlme_addr_map_size +
|
||||
dlme_data_min_size += sizeof(struct_dlme_data_header) +
|
||||
dlme_data_hdr_init.dlme_addr_map_size +
|
||||
ARM_DRTM_MIN_EVENT_LOG_SIZE +
|
||||
dlme_data_hdr_init.dlme_tcb_hashes_table_size +
|
||||
dlme_data_hdr_init.dlme_acpi_tables_region_size +
|
||||
dlme_data_hdr_init.dlme_impdef_region_size;
|
||||
|
||||
/* Fill out platform DRTM features structure */
|
||||
|
|
Loading…
Add table
Reference in a new issue