Records

Functions

  • const FakePage & GetPage (zx_paddr_t phys)

    Converts a physical address to a page

    The pointer returned is owned by the DMA buffer,

    and is freed when the DMA buffer is released.

    Defined at line 149 of file ../../src/devices/testing/fake-dma-buffer/fake-dma-buffer.cc

  • void * PhysToVirt (zx_paddr_t phys)

    Converts a physical address to a virtual address

    The pointer returned is owned by the DMA buffer,

    and is freed when the DMA buffer is released.

    Defined at line 147 of file ../../src/devices/testing/fake-dma-buffer/fake-dma-buffer.cc

  • std::unique_ptr<dma_buffer::BufferFactory> CreateBufferFactory ()

    Defined at line 154 of file ../../src/devices/testing/fake-dma-buffer/fake-dma-buffer.cc