TianoCore EDK2 master
MicrocodeLib.h
Go to the documentation of this file.
1
9#ifndef MICROCODE_LIB_H_
10#define MICROCODE_LIB_H_
11
13#include <Ppi/ShadowMicrocode.h>
14
20UINT32
21EFIAPI
23 VOID
24 );
25
31VOID
32EFIAPI
34 EDKII_PEI_MICROCODE_CPU_ID *MicrocodeCpuId
35 );
36
52UINT32
53EFIAPI
55 IN CPU_MICROCODE_HEADER *Microcode
56 );
57
65VOID
66EFIAPI
68 IN CPU_MICROCODE_HEADER *Microcode
69 );
70
109BOOLEAN
110EFIAPI
112 IN CPU_MICROCODE_HEADER *Microcode,
113 IN UINTN MicrocodeLength,
114 IN UINT32 MinimumRevision,
115 IN EDKII_PEI_MICROCODE_CPU_ID *MicrocodeCpuIds,
116 IN UINTN MicrocodeCpuIdCount,
117 IN BOOLEAN VerifyChecksum
118 );
119
120#endif
UINT64 UINTN
BOOLEAN EFIAPI VerifyChecksum(IN BOOLEAN Log, IN UINT8 *Ptr, IN UINT32 Length)
Definition: AcpiParser.c:117
#define IN
Definition: Base.h:279
BOOLEAN EFIAPI IsValidMicrocode(IN CPU_MICROCODE_HEADER *Microcode, IN UINTN MicrocodeLength, IN UINT32 MinimumRevision, IN EDKII_PEI_MICROCODE_CPU_ID *MicrocodeCpuIds, IN UINTN MicrocodeCpuIdCount, IN BOOLEAN VerifyChecksum)
Definition: MicrocodeLib.c:186
VOID EFIAPI GetProcessorMicrocodeCpuId(EDKII_PEI_MICROCODE_CPU_ID *MicrocodeCpuId)
Definition: MicrocodeLib.c:43
VOID EFIAPI LoadMicrocode(IN CPU_MICROCODE_HEADER *Microcode)
Definition: MicrocodeLib.c:98
UINT32 EFIAPI GetMicrocodeLength(IN CPU_MICROCODE_HEADER *Microcode)
Definition: MicrocodeLib.c:73
UINT32 EFIAPI GetProcessorMicrocodeSignature(VOID)
Definition: MicrocodeLib.c:24