HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

src/boot/measure-smbios.h

Git blob: 35f98e7d584f05f1ddd4dfb6388ccf14d8f8bcd4

Lines 1–10 of 10

/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
 
/* Measures SMBIOS type 1 (system information, with the volatile "Wake-up Type" field masked), type 2
 * (baseboard information) and all type 11 (OEM strings) structures into PCR 1, and records the PCR
 * index in the transient LoaderPcrSMBIOS EFI variable if all of them were measured successfully.
 * Called by both sd-boot and sd-stub; the presence of LoaderPcrSMBIOS suppresses a redundant second
 * measurement when both run during the same boot. */
void measure_smbios(void);