commonlib: Add timestamp IDs for Chrome OS hypervisor

Hardware / Coreboot - Mattias Nissler [chromium.org] - 11 May 2022 17:06 UTC

Chrome OS is experimenting with a hypervisor layer that boots after firmware, but before the OS. From the OS' perspective, it can be considered an extension of firmware, and hence it makes sense to emit timestamp to track hypervisor boot latency. This change adds timestamp IDs in the 1200-1300 range for this purpose.

BUG=b:217638034 BRANCH=none TEST=Manual: cbmem -a TS_CRHV_BOOT to add a timestamp, cbmem -t to
verify that it got added to the timestamp table.

Change-Id: If70447eea2c2edf42b43e0198b827c1348b935ea

c8c6185d8e commonlib: Add timestamp IDs for Chrome OS hypervisor
.../include/commonlib/timestamp_serialized.h | 26 ++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)

Upstream: review.coreboot.org


  • Share