Changeset 09d01f2 in mainline for kernel/generic/include


Ignore:
Timestamp:
2017-12-18T17:40:52Z (8 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2024096, 23d45152
Parents:
6a32cc5f
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-18 15:39:01)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-18 17:40:52)
Message:

Return phones/capabilities separately from error codes.

Location:
kernel/generic/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/cap/cap.h

    r6a32cc5f r09d01f2  
    121121    bool (*)(cap_t *, void *), void *);
    122122
    123 extern cap_handle_t cap_alloc(struct task *);
     123extern int cap_alloc(struct task *, cap_handle_t *);
    124124extern void cap_publish(struct task *, cap_handle_t, kobject_t *);
    125125extern kobject_t *cap_unpublish(struct task *, cap_handle_t, kobject_type_t);
  • kernel/generic/include/ipc/ipcrsc.h

    r6a32cc5f r09d01f2  
    4040#include <cap/cap.h>
    4141
    42 extern cap_handle_t phone_alloc(task_t *);
     42extern int phone_alloc(task_t *, cap_handle_t *);
    4343extern bool phone_connect(cap_handle_t, answerbox_t *);
    4444extern void phone_dealloc(cap_handle_t);
Note: See TracChangeset for help on using the changeset viewer.