https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c3560c68301ce8fd1dae5…
commit c3560c68301ce8fd1dae5a4359dcf2cb5d819a47
Author: Adam Słaboń <asaillen(a)protonmail.com>
AuthorDate: Fri Aug 30 07:26:55 2024 +0000
Commit: GitHub <noreply(a)github.com>
CommitDate: Fri Aug 30 10:26:55 2024 +0300
[VIRTIO] Misc fixes (#7283)
- Add bugcodes dependency, fixes a rare build failure
- Fix for the sync part of commit 823fdb19d75b29352b1621e16f5c955153d90ed3, somehow it
didn't pick up the change from the upstream commit
https://github.com/virtio-win/kvm-guest-drivers-windows/commit/b22efbb8b80f…
---
sdk/lib/drivers/virtio/CMakeLists.txt | 2 +-
sdk/lib/drivers/virtio/linux/virtio_config.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/lib/drivers/virtio/CMakeLists.txt
b/sdk/lib/drivers/virtio/CMakeLists.txt
index c7cffcc09a7..2e4b6d0b2d3 100644
--- a/sdk/lib/drivers/virtio/CMakeLists.txt
+++ b/sdk/lib/drivers/virtio/CMakeLists.txt
@@ -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
diff --git a/sdk/lib/drivers/virtio/linux/virtio_config.h
b/sdk/lib/drivers/virtio/linux/virtio_config.h
index bd459199fc6..7f94d243b00 100644
--- a/sdk/lib/drivers/virtio/linux/virtio_config.h
+++ b/sdk/lib/drivers/virtio/linux/virtio_config.h
@@ -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