Last change
on this file since 108794 was 108794, checked in by vboxsync, 2 weeks ago |
Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
1.3 KB
|
Line | |
---|
1 | /** @file
|
---|
2 | This file defines MM_CPU_SYNC_CONFIG which controls how BSP synchronizes with APs
|
---|
3 | in x86 SMM environment.
|
---|
4 |
|
---|
5 | Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
|
---|
6 |
|
---|
7 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
8 |
|
---|
9 | **/
|
---|
10 |
|
---|
11 | #ifndef MM_CPU_SYNC_CONFIG_H_
|
---|
12 | #define MM_CPU_SYNC_CONFIG_H_
|
---|
13 |
|
---|
14 | ///
|
---|
15 | /// The GUID of the MmCpuSyncConfig GUIDed HOB.
|
---|
16 | ///
|
---|
17 | #define MM_CPU_SYNC_CONFIG_HOB_GUID \
|
---|
18 | { \
|
---|
19 | 0x8b90bd26, 0xe4f9, 0x45c2, {0x92, 0xa2, 0x9e, 0xac, 0xe6, 0x0e, 0x9d, 0xcc} \
|
---|
20 | }
|
---|
21 |
|
---|
22 | typedef enum {
|
---|
23 | MmCpuSyncModeTradition,
|
---|
24 | MmCpuSyncModeRelaxedAp,
|
---|
25 | MmCpuSyncModeMax
|
---|
26 | } MM_CPU_SYNC_MODE;
|
---|
27 |
|
---|
28 | ///
|
---|
29 | /// The structure defines the data layout of the MmCpuSyncConfig GUIDed HOB.
|
---|
30 | ///
|
---|
31 | typedef struct {
|
---|
32 | ///
|
---|
33 | /// 0: Traditional CPU synchronization method is used when processing an SMI.
|
---|
34 | /// 1: Relaxed CPU synchronization method is used when processing an SMI.
|
---|
35 | ///
|
---|
36 | MM_CPU_SYNC_MODE RelaxedApMode;
|
---|
37 |
|
---|
38 | ///
|
---|
39 | /// The 1st BSP/AP synchronization timeout value in SMM.
|
---|
40 | /// The value shall match with the PcdCpuSmmApSyncTimeout.
|
---|
41 | ///
|
---|
42 | UINT64 Timeout;
|
---|
43 |
|
---|
44 | ///
|
---|
45 | /// The 2nd BSP/AP synchronization timeout value in SMM.
|
---|
46 | /// The value shall match with the PcdCpuSmmApSyncTimeout2.
|
---|
47 | ///
|
---|
48 | UINT64 Timeout2;
|
---|
49 | } MM_CPU_SYNC_CONFIG;
|
---|
50 |
|
---|
51 | extern EFI_GUID gMmCpuSyncConfigHobGuid;
|
---|
52 |
|
---|
53 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.