Toggle navigation
Find or Create a Group
Help
Log In
Sign Up
Help
Log In
Sign Up
Home
Messages
Hashtags
Subgroups
Calendar
×
×
×
Close
Likes
devel@edk2.groups.io
Topics
[PATCH v3 1/4] OvmfPkg/Virtio10: Add virtio-mmio 1.0 defines
×
Close
Search
Date
Date
1 - 1 of 1
previous page
next page
[PATCH v3 1/4] OvmfPkg/Virtio10: Add virtio-mmio 1.0 defines
Gerd Hoffmann
#79417
Add defines for the config space offsets for virtio 1.0 mmio transport.
Signed-off-by: Gerd Hoffmann <kraxel@...>
Reviewed-by: Philippe Mathieu-Daude <philmd@...>
---
OvmfPkg/Include/IndustryStandard/Virtio10.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/OvmfPkg/Include/IndustryStandard/Virtio10.h b/OvmfPkg/Include/IndustryStandard/Virtio10.h
index 2c60be2b7c0c..a1712247e054 100644
--- a/OvmfPkg/Include/IndustryStandard/Virtio10.h
+++ b/OvmfPkg/Include/IndustryStandard/Virtio10.h
@@ -81,4 +81,16 @@ typedef struct {
#define VIRTIO_F_VERSION_1 BIT32
#define VIRTIO_F_IOMMU_PLATFORM BIT33
+//
+// MMIO VirtIo Header Offsets
+//
+#define VIRTIO_MMIO_OFFSET_QUEUE_READY 0x44
+#define VIRTIO_MMIO_OFFSET_QUEUE_DESC_LO 0x80
+#define VIRTIO_MMIO_OFFSET_QUEUE_DESC_HI 0x84
+#define VIRTIO_MMIO_OFFSET_QUEUE_AVAIL_LO 0x90
+#define VIRTIO_MMIO_OFFSET_QUEUE_AVAIL_HI 0x94
+#define VIRTIO_MMIO_OFFSET_QUEUE_USED_LO 0xa0
+#define VIRTIO_MMIO_OFFSET_QUEUE_USED_HI 0xa4
+#define VIRTIO_MMIO_OFFSET_CONFIG_GENERATION 0xfc
+
#endif // _VIRTIO_1_0_H_
--
2.31.1
More
All Messages By This Member
×
Close
Verify Delete
Are you sure you wish to delete this message from the message archives of devel@edk2.groups.io?
This cannot be undone.
×
Close
Verify Repost
Are you sure you wish to repost this message?
×
Close
Report Message
Reason
Report to Moderators
I think this message isn't appropriate for our group. The Group moderators are responsible for maintaining their community and can address these issues.
Report to Groups.io Support
I think this violates the Terms of Service. This includes: harm to minors, violence or threats, harassment or privacy invasion, impersonation or misrepresentation, fraud or phishing.
Note:
Your email address is included with the abuse report.
×
Close
Split Topic
The new topic will begin with this message. Subject of the new topic:
1 - 1 of 1
previous page
1
next page
Previous Topic
Next Topic
More
Home
Hashtags
Subgroups
Calendar
About
Features
Pricing
Updates
Terms
Help
Twitter
Toggle navigation
About
Features
Pricing
Updates
Terms
Help
©
2022
Groups.io