aboutsummaryrefslogtreecommitdiffstats
path: root/roms/edk2/OvmfPkg/Include/IndustryStandard/Virtio10Net.h
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/edk2/OvmfPkg/Include/IndustryStandard/Virtio10Net.h
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/edk2/OvmfPkg/Include/IndustryStandard/Virtio10Net.h')
-rw-r--r--roms/edk2/OvmfPkg/Include/IndustryStandard/Virtio10Net.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/roms/edk2/OvmfPkg/Include/IndustryStandard/Virtio10Net.h b/roms/edk2/OvmfPkg/Include/IndustryStandard/Virtio10Net.h
new file mode 100644
index 000000000..69dcaca46
--- /dev/null
+++ b/roms/edk2/OvmfPkg/Include/IndustryStandard/Virtio10Net.h
@@ -0,0 +1,26 @@
+/** @file
+ Definitions from the VirtIo 1.0 specification (csprd05), specifically for the
+ network device.
+
+ Copyright (C) 2016, Red Hat, Inc.
+
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+**/
+
+#ifndef _VIRTIO_1_0_NET_H_
+#define _VIRTIO_1_0_NET_H_
+
+#include <IndustryStandard/Virtio10.h>
+#include <IndustryStandard/Virtio095Net.h>
+
+//
+// VirtIo 1.0 packet header
+//
+#pragma pack (1)
+typedef struct {
+ VIRTIO_NET_REQ V0_9_5;
+ UINT16 NumBuffers;
+} VIRTIO_1_0_NET_REQ;
+#pragma pack ()
+
+#endif // _VIRTIO_1_0_NET_H_