mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 01:24:27 +00:00

When ENABLE_RUNTIME_INSTRUMENTATION flag is set timestamps are captured and output to the fvp console at various boot stages using the PMF library (which are based on aarch timers). Timestamps are captured at entry and exit points for Bl1, Bl2 and, Bl3 respectively. Change-Id: I7c0c502e5dbf73d711700b2fe0085ca3eb9346d2 Signed-off-by: Thaddeus Serna <Thaddeus.Gonzalez-Serna@arm.com>
22 lines
468 B
C
22 lines
468 B
C
/*
|
|
* Copyright (c) 2023, Arm Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef BOOTMARKER_CAPTURE_H
|
|
#define BOOTMARKER_CAPTURE_H
|
|
|
|
#define BL1_ENTRY U(0)
|
|
#define BL1_EXIT U(1)
|
|
#define BL2_ENTRY U(2)
|
|
#define BL2_EXIT U(3)
|
|
#define BL31_ENTRY U(4)
|
|
#define BL31_EXIT U(5)
|
|
#define BL_TOTAL_IDS U(6)
|
|
|
|
#ifdef __ASSEMBLER__
|
|
PMF_DECLARE_CAPTURE_TIMESTAMP(bl_svc)
|
|
#endif /*__ASSEMBLER__*/
|
|
|
|
#endif /*BOOTMARKER_CAPTURE_H*/
|