mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 03:57:24 +00:00
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:
parent
980fb8896c
commit
6af40edd41
3 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue