2 PlatformInitLib header file.
4 Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef PLATFORM_INIT_LIB_H_
10 #define PLATFORM_INIT_LIB_H_
16 EFI_HOB_GUID_TYPE GuidHeader
;
17 UINT16 HostBridgeDevId
;
19 UINT64 PcdConfidentialComputingGuestAttr
;
20 BOOLEAN SevEsIsEnabled
;
25 BOOLEAN SmmSmramRequire
;
26 BOOLEAN Q35SmramAtDefaultSmbase
;
29 UINT64 FirstNonAddress
;
30 UINT8 PhysMemAddressWidth
;
34 BOOLEAN PcdSetNxForStack
;
35 UINT64 PcdTdxSharedBitMask
;
37 UINT64 PcdPciMmio64Base
;
38 UINT64 PcdPciMmio64Size
;
39 UINT32 PcdPciMmio32Base
;
40 UINT32 PcdPciMmio32Size
;
44 UINT64 PcdEmuVariableNvStoreReserved
;
45 UINT32 PcdCpuBootLogicalProcessorNumber
;
46 UINT32 PcdCpuMaxLogicalProcessorNumber
;
47 UINT32 DefaultMaxCpuNumber
;
49 UINT32 S3AcpiReservedMemoryBase
;
50 UINT32 S3AcpiReservedMemorySize
;
51 } EFI_HOB_PLATFORM_INFO
;
55 Reads 8-bits of CMOS data.
57 Reads the 8-bits of CMOS data at the location specified by Index.
58 The 8-bit read value is returned.
60 @param Index The CMOS location to read.
62 @return The value read.
72 Writes 8-bits of CMOS data.
74 Writes 8-bits of CMOS data to the location specified by Index
75 with the value specified by Value and returns Value.
77 @param Index The CMOS location to write.
78 @param Value The value to write to CMOS.
80 @return The value written to CMOS.
95 PlatformDebugDumpCmos (
99 #endif // PLATFORM_INIT_LIB_H_