[VIRTIO] Misc fixes (#7283)

- Add bugcodes dependency, fixes a rare build failure
- Fix for the sync part of commit 823fdb19d7, somehow it didn't pick up the change from the upstream commit b22efbb8b8
This commit is contained in:
Adam Słaboń 2024-08-30 07:26:55 +00:00 committed by GitHub
parent 03d41008d4
commit c3560c6830
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ list(APPEND SOURCE
VirtIORing-Packed.c)
add_library(virtio ${SOURCE})
add_dependencies(virtio xdk)
add_dependencies(virtio bugcodes xdk)
if(NOT MSVC)
target_compile_options(virtio PRIVATE

View file

@ -62,7 +62,7 @@
/* v1.0 compliant. */
#define VIRTIO_F_VERSION_1 32
#define VIRTIO_F_IOMMU_PLATFORM 33
#define VIRTIO_F_ACCESS_PLATFORM 33
/* This feature indicates support for the packed virtqueue layout. */
#define VIRTIO_F_RING_PACKED 34