Changes in uspace/lib/c/include/ddi.h [b7fd2a0:aad43a8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ddi.h
rb7fd2a0 raad43a8 54 54 typedef volatile uint64_t ioport64_t; 55 55 56 extern errno_t physmem_map(uintptr_t, size_t, unsigned int, void **);57 extern errno_t physmem_unmap(void *);56 extern int physmem_map(uintptr_t, size_t, unsigned int, void **); 57 extern int physmem_unmap(void *); 58 58 59 extern errno_t dmamem_map(void *, size_t, unsigned int, unsigned int, uintptr_t *);60 extern errno_t dmamem_map_anonymous(size_t, uintptr_t, unsigned int, unsigned int,59 extern int dmamem_map(void *, size_t, unsigned int, unsigned int, uintptr_t *); 60 extern int dmamem_map_anonymous(size_t, uintptr_t, unsigned int, unsigned int, 61 61 uintptr_t *, void **); 62 extern errno_t dmamem_unmap(void *, size_t);63 extern errno_t dmamem_unmap_anonymous(void *);62 extern int dmamem_unmap(void *, size_t); 63 extern int dmamem_unmap_anonymous(void *); 64 64 65 extern errno_t pio_enable_range(addr_range_t *, void **);66 extern errno_t pio_enable_resource(pio_window_t *, hw_resource_t *, void **);67 extern errno_t pio_enable(void *, size_t, void **);68 extern errno_t pio_disable(void *, size_t);65 extern int pio_enable_range(addr_range_t *, void **); 66 extern int pio_enable_resource(pio_window_t *, hw_resource_t *, void **); 67 extern int pio_enable(void *, size_t, void **); 68 extern int pio_disable(void *, size_t); 69 69 70 70 typedef void (*trace_fnc)(const volatile void *place, uint64_t val, 71 71 volatile void* base, size_t size, void *data, bool write); 72 72 73 extern errno_t pio_trace_enable(void *, size_t, trace_fnc, void *);73 extern int pio_trace_enable(void *, size_t, trace_fnc, void *); 74 74 extern void pio_trace_log(const volatile void *, uint64_t val, bool write); 75 75 extern void pio_trace_disable(void *);
Note:
See TracChangeset
for help on using the changeset viewer.