diff --git a/devices/src/virtio/gpu/virtio_gpu.rs b/devices/src/virtio/gpu/virtio_gpu.rs index effb8c85fb..691d1038ed 100644 --- a/devices/src/virtio/gpu/virtio_gpu.rs +++ b/devices/src/virtio/gpu/virtio_gpu.rs @@ -612,7 +612,7 @@ impl VirtioGpu { } /// Attaches backing memory to the given resource, represented by a `Vec` of `(address, size)` - /// tuples in the guest's physical address space. Converts to RutabageIovec from the memory + /// tuples in the guest's physical address space. Converts to RutabagaIovec from the memory /// mapping. pub fn attach_backing( &mut self, diff --git a/rutabaga_gfx/ffi/src/include/rutabaga_gfx_ffi.h b/rutabaga_gfx/ffi/src/include/rutabaga_gfx_ffi.h index de00a24ed8..130138d3e6 100644 --- a/rutabaga_gfx/ffi/src/include/rutabaga_gfx_ffi.h +++ b/rutabaga_gfx/ffi/src/include/rutabaga_gfx_ffi.h @@ -69,11 +69,11 @@ extern "C" { */ #define RUTABAGA_MEM_HANDLE_TYPE_OPAQUE_FD 0x1 #define RUTABAGA_MEM_HANDLE_TYPE_DMABUF 0x2 -#define RUTABAGE_MEM_HANDLE_TYPE_OPAQUE_WIN32 0x3 +#define RUTABAGA_MEM_HANDLE_TYPE_OPAQUE_WIN32 0x3 #define RUTABAGA_MEM_HANDLE_TYPE_SHM 0x4 #define RUTABAGA_FENCE_HANDLE_TYPE_OPAQUE_FD 0x10 #define RUTABAGA_FENCE_HANDLE_TYPE_SYNC_FD 0x11 -#define RUTABAGE_FENCE_HANDLE_TYPE_OPAQUE_WIN32 0x12 +#define RUTABAGA_FENCE_HANDLE_TYPE_OPAQUE_WIN32 0x12 struct rutabaga; diff --git a/rutabaga_gfx/src/rutabaga_utils.rs b/rutabaga_gfx/src/rutabaga_utils.rs index 23d207a227..012060784b 100644 --- a/rutabaga_gfx/src/rutabaga_utils.rs +++ b/rutabaga_gfx/src/rutabaga_utils.rs @@ -579,11 +579,11 @@ pub enum RutabagaComponentType { /// Rutabaga handle types (memory and sync in same namespace) pub const RUTABAGA_MEM_HANDLE_TYPE_OPAQUE_FD: u32 = 0x0001; pub const RUTABAGA_MEM_HANDLE_TYPE_DMABUF: u32 = 0x0002; -pub const RUTABAGE_MEM_HANDLE_TYPE_OPAQUE_WIN32: u32 = 0x0003; +pub const RUTABAGA_MEM_HANDLE_TYPE_OPAQUE_WIN32: u32 = 0x0003; pub const RUTABAGA_MEM_HANDLE_TYPE_SHM: u32 = 0x0004; pub const RUTABAGA_FENCE_HANDLE_TYPE_OPAQUE_FD: u32 = 0x0010; pub const RUTABAGA_FENCE_HANDLE_TYPE_SYNC_FD: u32 = 0x0011; -pub const RUTABAGE_FENCE_HANDLE_TYPE_OPAQUE_WIN32: u32 = 0x0012; +pub const RUTABAGA_FENCE_HANDLE_TYPE_OPAQUE_WIN32: u32 = 0x0012; /// Handle to OS-specific memory or synchronization objects. pub struct RutabagaHandle {