Changes in uspace/lib/c/include/ddi.h [fd6bd6d:28f8f170] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ddi.h
rfd6bd6d r28f8f170 40 40 #include <task.h> 41 41 42 typedef struct {43 /** Physical memory */44 void *phys;45 46 /** Virtual memory */47 void *virt;48 49 /** Size in pages */50 size_t size;51 52 /** Mapping flags */53 unsigned int flags;54 } dmamem_t;55 56 42 extern int device_assign_devno(void); 57 43 extern int physmem_map(void *, void *, size_t, unsigned int); 58 extern int dmamem_map(dmamem_t *, size_t, unsigned int, unsigned int);59 extern int dmamem_unmap(dmamem_t *);60 extern int dmamem_lock(void *, void **, size_t);61 extern int dmamem_unlock(void *, size_t);62 44 extern int iospace_enable(task_id_t, void *, unsigned long); 63 45 extern int pio_enable(void *, size_t, void **);
Note:
See TracChangeset
for help on using the changeset viewer.