MOS Source Code
|
#include <mos/types.h>
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.c.
Referenced by dmabuf_alloc().
Definition at line 507 of file ksyscall.c.
Referenced by dmabuf_free().
Definition at line 523 of file ksyscall.c.
Referenced by dmabuf_unshare().