Skip to content

Commit a4f6a1e

Browse files
committed
add edk2 mm request serialization protocol
1 parent 24e8738 commit a4f6a1e

File tree

4 files changed

+152
-0
lines changed

4 files changed

+152
-0
lines changed

htmlsrc/linktypes.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2127,6 +2127,15 @@ <h2 class="title">
21272127
<a href="linktypes/LINKTYPE_DECT_NR.html">DECT-2020 New Radio (NR) MAC
21282128
layer</a>.
21292129
</td>
2130+
</tr>
2131+
2132+
<tr>
2133+
<td class="symbol">LINKTYPE_EDK2_MM</td>
2134+
<td class="number">302</td>
2135+
<td class="symbol">DLT_EDK2_MM</td>
2136+
<td>
2137+
<a href="linktypes/LINKTYPE_EDK2_MM.html">edk2 mm request serialization protocol</a>.
2138+
</td>
21302139
</tr>
21312140
</table>
21322141
</div>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<!-- Start of LINKTYPE_EDK2_MM section -->
2+
<div class="post">
3+
<h2 class="title">
4+
LINKTYPE_EDK2_MM
5+
</h2>
6+
<div class="entry">
7+
<pre>
8+
+---------------+
9+
| Packet Type |
10+
| (4 octets) |
11+
+---------------+
12+
| Payload |
13+
. .
14+
. .
15+
. .
16+
</pre>
17+
<h3 class="subtitle">Description</h3>
18+
<p>
19+
Request serialization protocol used by edk2 firmware to communicate
20+
between normal mode and management mode ('MM' for short).
21+
</p>
22+
<p>
23+
The qemu uefi variable store implementation reuses the request
24+
serialization protocol for firmware <-> qemu communication.
25+
</p>
26+
<p>
27+
There are three packet types (32-bit integer in little endian byte
28+
order):
29+
</p>
30+
<ul>
31+
<li>RESET (0x01) - machine reset</li>
32+
<li>REQUEST (0x02) - normal mode -> management mode request message</li>
33+
<li>REPLY (0x03) - management mode -> normal mode response message</li>
34+
</ul>
35+
</div>
36+
</div>
37+
<!-- End of LINKTYPE_EDK2_MM section -->

linktypes.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2171,6 +2171,15 @@ <h2 class="title">
21712171
<a href="linktypes/LINKTYPE_DECT_NR.html">DECT-2020 New Radio (NR) MAC
21722172
layer</a>.
21732173
</td>
2174+
</tr>
2175+
2176+
<tr>
2177+
<td class="symbol">LINKTYPE_EDK2_MM</td>
2178+
<td class="number">302</td>
2179+
<td class="symbol">DLT_EDK2_MM</td>
2180+
<td>
2181+
<a href="linktypes/LINKTYPE_EDK2_MM.html">edk2 mm request serialization protocol</a>.
2182+
</td>
21742183
</tr>
21752184
</table>
21762185
</div>

linktypes/LINKTYPE_EDK2_MM.html

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<!-- HEAD -->
5+
<head>
6+
<meta charset="utf-8">
7+
<title>LINKTYPE_EDK2_MM | TCPDUMP &amp; LIBPCAP</title>
8+
<meta name="description" content="Web site of Tcpdump and Libpcap">
9+
<link href="../style.css" rel="stylesheet" type="text/css" media="screen">
10+
<link href="../images/T-32x32.png" rel="shortcut icon" type="image/png">
11+
</head>
12+
<!-- END OF HTML HEAD -->
13+
14+
<!-- BODY -->
15+
<body>
16+
17+
<!-- TOP MENU -->
18+
<div id="menu">
19+
<ul>
20+
<li><a href="../index.html">Home</a></li>
21+
<li><a href="../security.html">Security</a></li>
22+
<li><a href="../faq.html">FAQ</a></li>
23+
<li><a href="../manpages/">Man Pages</a></li>
24+
<li><a href="../ci.html">CI</a></li>
25+
<li><a href="../linktypes.html">Link-Layer Header Types</a></li>
26+
<li><a href="../related.html">See Also</a></li>
27+
<li><a href="../old_releases.html">Old Releases</a></li>
28+
<li><a href="../thanks.html">Thanks!</a></li>
29+
</ul>
30+
</div>
31+
<!-- END OF TOP MENU -->
32+
33+
<!-- PAGE HEADER -->
34+
<div id="splash">
35+
<br><img src="../images/logo.png" alt="">
36+
</div>
37+
<div id="logo">
38+
<hr>
39+
</div>
40+
<!-- END OF PAGE HEADER -->
41+
42+
<!-- PAGE CONTENTS -->
43+
<div id="page">
44+
45+
<!-- Start of LINKTYPE_EDK2_MM section -->
46+
<div class="post">
47+
<h2 class="title">
48+
LINKTYPE_EDK2_MM
49+
</h2>
50+
<div class="entry">
51+
<pre>
52+
+---------------+
53+
| Packet Type |
54+
| (4 octets) |
55+
+---------------+
56+
| Payload |
57+
. .
58+
. .
59+
. .
60+
</pre>
61+
<h3 class="subtitle">Description</h3>
62+
<p>
63+
Request serialization protocol used by edk2 firmware to communicate
64+
between normal mode and management mode ('MM' for short).
65+
</p>
66+
<p>
67+
The qemu uefi variable store implementation reuses the request
68+
serialization protocol for firmware <-> qemu communication.
69+
</p>
70+
<p>
71+
There are three packet types (32-bit integer in little endian byte
72+
order):
73+
</p>
74+
<ul>
75+
<li>RESET (0x01) - machine reset</li>
76+
<li>REQUEST (0x02) - normal mode -> management mode request message</li>
77+
<li>REPLY (0x03) - management mode -> normal mode response message</li>
78+
</ul>
79+
</div>
80+
</div>
81+
<!-- End of LINKTYPE_EDK2_MM section -->
82+
</div>
83+
<!-- END OF PAGE CONTENTS -->
84+
85+
<!-- FOOTER -->
86+
<div id="footer">
87+
<p>
88+
This web site is &copy; 1999&ndash;2025 The Tcpdump Group
89+
(<a href="https://github.com/the-tcpdump-group/tcpdump-htdocs/blob/master/README.md">more
90+
information</a>).
91+
</p>
92+
</div>
93+
<!-- END OF FOOTER -->
94+
95+
</body>
96+
<!-- END OF HTML BODY -->
97+
</html>

0 commit comments

Comments
 (0)