TianoCore EDK2 master
MicrocodePatchHob.h
Go to the documentation of this file.
1
11#ifndef _MICROCODE_PATCH_HOB_H_
12#define _MICROCODE_PATCH_HOB_H_
13
14extern EFI_GUID gEdkiiMicrocodePatchHobGuid;
15
16//
17// The EDKII microcode patch HOB will be produced by MpInitLib and it can be
18// consumed by modules that want to detect/apply microcode patches.
19//
20typedef struct {
21 //
22 // The base address of the microcode patches data after being loaded into
23 // memory.
24 //
25 UINT64 MicrocodePatchAddress;
26 //
27 // The total size of the loaded microcode patches.
28 //
29 UINT64 MicrocodePatchRegionSize;
30 //
31 // The number of processors within the system.
32 //
33 UINT32 ProcessorCount;
34 //
35 // An array with 'ProcessorCount' elements that stores the offset (with
36 // regard to 'MicrocodePatchAddress') of the detected microcode patch
37 // (including the CPU_MICROCODE_HEADER data structure) for each processor.
38 // If no microcode patch is detected for certain processor, the relating
39 // element will be set to MAX_UINT64.
40 //
41 UINT64 ProcessorSpecificPatchOffset[0];
43
44#endif
Definition: Base.h:213