![]() |
MOS Source Code
|
#include <mos/types.hpp>Go to the source code of this file.
Functions | |
| pfn_t | dmabuf_allocate (size_t n_pages, ptr_t *pages) |
| Allocate DMA pages. | |
| bool | dmabuf_free (ptr_t vaddr, ptr_t paddr) |
| pfn_t | dmabuf_share (void *buffer, size_t size) |
| bool | dmabuf_unshare (ptr_t phys, size_t size, void *virt) |
Allocate DMA pages.
| n_pages | Number of pages to allocate |
| pages | Pointer to store the virtual address of the pages |
Definition at line 24 of file dma.cpp.
Referenced by dmabuf_alloc().
Definition at line 531 of file ksyscall.cpp.
Referenced by dmabuf_free().
Definition at line 52 of file dma.cpp.
Referenced by dmabuf_share().
Definition at line 547 of file ksyscall.cpp.
Referenced by dmabuf_unshare().