Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ddi.h

    rb7fd2a0 raad43a8  
    5454typedef volatile uint64_t ioport64_t;
    5555
    56 extern errno_t physmem_map(uintptr_t, size_t, unsigned int, void **);
    57 extern errno_t physmem_unmap(void *);
     56extern int physmem_map(uintptr_t, size_t, unsigned int, void **);
     57extern int physmem_unmap(void *);
    5858
    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,
     59extern int dmamem_map(void *, size_t, unsigned int, unsigned int, uintptr_t *);
     60extern int dmamem_map_anonymous(size_t, uintptr_t, unsigned int, unsigned int,
    6161    uintptr_t *, void **);
    62 extern errno_t dmamem_unmap(void *, size_t);
    63 extern errno_t dmamem_unmap_anonymous(void *);
     62extern int dmamem_unmap(void *, size_t);
     63extern int dmamem_unmap_anonymous(void *);
    6464
    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);
     65extern int pio_enable_range(addr_range_t *, void **);
     66extern int pio_enable_resource(pio_window_t *, hw_resource_t *, void **);
     67extern int pio_enable(void *, size_t, void **);
     68extern int pio_disable(void *, size_t);
    6969
    7070typedef void (*trace_fnc)(const volatile void *place, uint64_t val,
    7171    volatile void* base, size_t size, void *data, bool write);
    7272
    73 extern errno_t pio_trace_enable(void *, size_t, trace_fnc, void *);
     73extern int pio_trace_enable(void *, size_t, trace_fnc, void *);
    7474extern void pio_trace_log(const volatile void *, uint64_t val, bool write);
    7575extern void pio_trace_disable(void *);
Note: See TracChangeset for help on using the changeset viewer.