TianoCore EDK2 master
Loading...
Searching...
No Matches
MpInformation2.h File Reference

Go to the source code of this file.

Data Structures

struct  MP_INFORMATION2_ENTRY
 
struct  MP_INFORMATION2_HOB_DATA
 

Macros

#define MP_INFORMATION2_HOB_REVISION   1
 
#define MP_INFORMATION2_GUID
 
#define GET_MP_INFORMATION_ENTRY(MpInfoHobData, Index)    (MP_INFORMATION2_ENTRY *)((UINTN)&((MP_INFORMATION2_HOB_DATA *)(MpInfoHobData))->Entry + (MpInfoHobData)->EntrySize * Index)
 

Variables

EFI_GUID gMpInformation2HobGuid
 

Detailed Description

EFI MP information protocol provides a lightweight MP_SERVICES_PROTOCOL.

MP information protocol only provides static information of MP processor.

If SwitchBSP or Enable/DisableAP in MP service is called between the HOB production and HOB consumption, EFI_PROCESSOR_INFORMATION.StatusFlag field in this HOB may be invalidated.

Copyright (c) 2023, Intel Corporation. All rights reserved.

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

Definition in file MpInformation2.h.

Macro Definition Documentation

◆ GET_MP_INFORMATION_ENTRY

#define GET_MP_INFORMATION_ENTRY (   MpInfoHobData,
  Index 
)     (MP_INFORMATION2_ENTRY *)((UINTN)&((MP_INFORMATION2_HOB_DATA *)(MpInfoHobData))->Entry + (MpInfoHobData)->EntrySize * Index)

Definition at line 53 of file MpInformation2.h.

◆ MP_INFORMATION2_GUID

#define MP_INFORMATION2_GUID
Value:
{ \
0x417a7f64, 0xf4e9, 0x4b32, {0x84, 0x6a, 0x5c, 0xc4, 0xd8, 0x62, 0x18, 0x79} \
}

Definition at line 25 of file MpInformation2.h.

◆ MP_INFORMATION2_HOB_REVISION

#define MP_INFORMATION2_HOB_REVISION   1

Definition at line 23 of file MpInformation2.h.