mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 21:44:15 +00:00
feat(drtm): update DLME data header with actual Event Log size
The definition of `dlme_tpm_log_size` has been revised to represent the actual Event Log data size instead of the fixed minimum of 64KB. This change will be reflected in the upcoming DRTM specification update. Note: This change requires a corresponding update to the ACS DRTM app in CI. Change-Id: I967b5a372b283abd46409685d7266ffa60c142b0 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
This commit is contained in:
parent
10639cc9af
commit
9753238fee
1 changed files with 2 additions and 2 deletions
|
@ -293,8 +293,8 @@ static enum drtm_retc drtm_dl_prepare_dlme_data(const struct_drtm_dl_args *args)
|
|||
/* Prepare DRTM event log for DLME. */
|
||||
drtm_serialise_event_log(dlme_data_cursor, &serialised_bytes_actual);
|
||||
assert(serialised_bytes_actual <= ARM_DRTM_MIN_EVENT_LOG_SIZE);
|
||||
dlme_data_hdr->dlme_tpm_log_size = ARM_DRTM_MIN_EVENT_LOG_SIZE;
|
||||
dlme_data_cursor += dlme_data_hdr->dlme_tpm_log_size;
|
||||
dlme_data_hdr->dlme_tpm_log_size = serialised_bytes_actual;
|
||||
dlme_data_cursor += serialised_bytes_actual;
|
||||
|
||||
/*
|
||||
* TODO: Prepare the TCB hashes for DLME, currently its size
|
||||
|
|
Loading…
Add table
Reference in a new issue