Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 300f4c4 in mainline for kernel/generic/include/lib/ra.h


Ignore:
Timestamp:
2017-09-30T18:52:38Z (4 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
6886705
Parents:
91b60499
Message:

Let the resource allocator treat 0 as a valid resource

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/lib/ra.h

    r91b60499 r300f4c4  
    8080extern ra_arena_t *ra_arena_create(void);
    8181extern bool ra_span_add(ra_arena_t *, uintptr_t, size_t);
    82 extern uintptr_t ra_alloc(ra_arena_t *, size_t, size_t);
     82extern bool ra_alloc(ra_arena_t *, size_t, size_t, uintptr_t *);
    8383extern void ra_free(ra_arena_t *, uintptr_t, size_t);
    8484
Note: See TracChangeset for help on using the changeset viewer.