Changeset edb0a33 in mainline
- Timestamp:
- 2012-10-14T13:26:40Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0f323d3
- Parents:
- 274bbcc7
- Location:
- uspace/lib/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/ddi.c
r274bbcc7 redb0a33 120 120 * 121 121 */ 122 int iospace_enable(task_id_t id, void *ioaddr, unsigned longsize)123 { 124 ddi_ioarg_t arg;125 126 arg.task_id = id;127 arg.ioaddr = ioaddr;128 arg.size = size;122 static int iospace_enable(task_id_t id, void *ioaddr, size_t size) 123 { 124 const ddi_ioarg_t arg = { 125 .task_id = id, 126 .ioaddr = ioaddr, 127 .size = size 128 }; 129 129 130 130 return __SYSCALL1(SYS_IOSPACE_ENABLE, (sysarg_t) &arg); -
uspace/lib/c/include/ddi.h
r274bbcc7 redb0a33 50 50 extern int dmamem_unmap_anonymous(void *); 51 51 52 extern int iospace_enable(task_id_t, void *, unsigned long);53 52 extern int pio_enable(void *, size_t, void **); 54 53
Note:
See TracChangeset
for help on using the changeset viewer.