1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
//! Management Mode (MM) Header and Buffer HOB Definitions
//!
//! Defines the header and buffer HOB structures necessary for the MM environment to be initialized and used by components
//! dependent on MM details.
//!
//! ## MM HOB Usage
//!
//! It is expected that the MM HOB buffer will be initialized by the environment that registers services for the
//! platform. The HOBs can have platform-fixed values assigned during their initialization. It should be common
//! for at least the communication buffers to be populated as a mutable HOB during boot time. It is
//! recommended for a "MM HOB" component to handle all MM HOB details with minimal other MM related
//! dependencies and lock the HOBs so they are available for components that depend on the immutable HOB
//! to perform MM operations.
//!
//! ## License
//!
//! Copyright (C) Microsoft Corporation.
//!
//! SPDX-License-Identifier: Apache-2.0
//!
use crateBinaryGuid;
use ;
/// GUID for the MM communication buffer HOB (`gMmCommBufferHobGuid`).
///
/// `{ 0x6c2a2520, 0x0131, 0x4aee, { 0xa7, 0x50, 0xcc, 0x38, 0x4a, 0xac, 0xe8, 0xc6 } }`
pub const MM_COMM_BUFFER_HOB_GUID: BinaryGuid = from_string;
/// MM Common Buffer HOB Data Structure.
///
/// Describes the communication buffer region passed via HOB from PEI to MM.
/// MM Communication Buffer Status
///
/// Shared structure between DXE and MM environments to communicate the status
/// of MM communication operations. This structure is written by DXE before
/// triggering an MMI and read/written by MM during MMI processing.
///
/// This is a structure currently used in some MM Supervisor MM implementations.