Ignore:
Timestamp:
2017-08-16T21:52:46Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
05ffb41
Parents:
c8cec85
Message:

Provide basic interfaces to work with kobjects

File:
1 edited

Legend:

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

    rc8cec85 r7e3826d9  
    4040#define MAX_KERNEL_OBJECTS  64
    4141
     42#define KOBJECT_INVALID_CAP -1
     43
    4244typedef enum {
    43         KOBJECT_TYPE_INVALID
     45        KOBJECT_TYPE_INVALID,
     46        KOBJECT_TYPE_ALLOCATED
    4447} kobject_type_t;
    4548
     
    5053} kobject_t;
    5154
     55extern kobject_t *kobject_get_local(int, kobject_type_t);
     56
     57struct task;
     58extern int kobject_alloc(struct task *);
     59extern void kobject_free(struct task *, int);
    5260
    5361#endif
Note: See TracChangeset for help on using the changeset viewer.