rutabaga: Fix typo rutabagE -> rutabagA

Some types have a typo on them. For the FFI case we don't currently use
the definition so it should be safe to rename.

BUG=b:244622199
TEST=presubmit

Change-Id: I9e3c29755f0c4479b54bef206f9173ab22030ab9
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3913992
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Idan Raiter <idanr@google.com>
This commit is contained in:
Idan Raiter 2022-09-21 13:30:18 -07:00 committed by crosvm LUCI
parent 980fb8896c
commit 6af40edd41
3 changed files with 5 additions and 5 deletions

View file

@ -612,7 +612,7 @@ impl VirtioGpu {
} }
/// Attaches backing memory to the given resource, represented by a `Vec` of `(address, size)` /// 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. /// mapping.
pub fn attach_backing( pub fn attach_backing(
&mut self, &mut self,

View file

@ -69,11 +69,11 @@ extern "C" {
*/ */
#define RUTABAGA_MEM_HANDLE_TYPE_OPAQUE_FD 0x1 #define RUTABAGA_MEM_HANDLE_TYPE_OPAQUE_FD 0x1
#define RUTABAGA_MEM_HANDLE_TYPE_DMABUF 0x2 #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_MEM_HANDLE_TYPE_SHM 0x4
#define RUTABAGA_FENCE_HANDLE_TYPE_OPAQUE_FD 0x10 #define RUTABAGA_FENCE_HANDLE_TYPE_OPAQUE_FD 0x10
#define RUTABAGA_FENCE_HANDLE_TYPE_SYNC_FD 0x11 #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; struct rutabaga;

View file

@ -579,11 +579,11 @@ pub enum RutabagaComponentType {
/// Rutabaga handle types (memory and sync in same namespace) /// 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_OPAQUE_FD: u32 = 0x0001;
pub const RUTABAGA_MEM_HANDLE_TYPE_DMABUF: u32 = 0x0002; 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_MEM_HANDLE_TYPE_SHM: u32 = 0x0004;
pub const RUTABAGA_FENCE_HANDLE_TYPE_OPAQUE_FD: u32 = 0x0010; pub const RUTABAGA_FENCE_HANDLE_TYPE_OPAQUE_FD: u32 = 0x0010;
pub const RUTABAGA_FENCE_HANDLE_TYPE_SYNC_FD: u32 = 0x0011; 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. /// Handle to OS-specific memory or synchronization objects.
pub struct RutabagaHandle { pub struct RutabagaHandle {