summaryrefslogtreecommitdiff
path: root/OvmfPkg/PlatformPei/PlatformId.h
blob: c8b55288c454341825fa01b7ab67eb9ce3680956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/** @file
  PlatformId internal header for PlatformPei

  Copyright (c) 2024, Google LLC. All rights reserved.<BR>

  SPDX-License-Identifier: BSD-2-Clause-Patent

**/

#ifndef __PLATFORM_PEI_PLATFORMID_H__
#define __PLATFORM_PEI_PLATFORMID_H__

/**
 * Reads opt/org.tianocode/sp800155evt/%d from 0 to the first positive integer
 * where the file does not exist and registers each file's contents in an
 * EFI_HOB_GUID_TYPE with name gTcg800155PlatformIdEventHobGuid. These HOBs
 * are used by a later driver to write to the event log as unmeasured events.
 * These events inform the event log analyzer of firmware provenance and
 * reference integrity manifests.
**/
VOID
PlatformIdInitialization (
  IN CONST EFI_PEI_SERVICES  **PeiServices
  );

#endif // __PLATFORM_PEI_PLATFORMID_H__