mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-15 00:54:22 +00:00
feat(drtm): log No-Action Event in Event Log for DRTM measurements
This patch updates `drtm_measurements.c` to ensure that a No-Action event is recorded in the Event Log as part of the DRTM measurement process. This helps maintain compliance with the event logging requirements specified in DRTM spec v1.1 [1]. [1]: https://developer.arm.com/documentation/den0113/c/?lang=en Change-Id: Ifcf25b7ec91393a0c91b05e30f1f6cc4960d5634 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
This commit is contained in:
parent
1733deb46c
commit
2ec44880d0
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2022 Arm Limited. All rights reserved.
|
||||
* Copyright (c) 2022-2025 Arm Limited. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*
|
||||
|
@ -198,6 +198,10 @@ enum drtm_retc drtm_take_measurements(const struct_drtm_dl_args *a)
|
|||
PCR_18);
|
||||
CHECK_RC(rc,
|
||||
drtm_event_log_measure_and_record(DRTM_EVENT_ARM_SEPARATOR));
|
||||
|
||||
/* Measure no Action event but not extend it in PCR */
|
||||
CHECK_RC(rc,
|
||||
drtm_event_log_measure_and_record(DRTM_EVENT_ARM_NO_ACTION));
|
||||
/*
|
||||
* If the DCE is unable to log a measurement because there is no available
|
||||
* space in the event log region, the DCE must extend a hash of the value
|
||||
|
|
Loading…
Add table
Reference in a new issue