Changeset 7e3826d9 in mainline
- Timestamp:
- 2017-08-16T21:52:46Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 05ffb41
- Parents:
- c8cec85
- Location:
- kernel
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
rc8cec85 r7e3826d9 286 286 generic/src/ipc/irq.c \ 287 287 generic/src/ipc/event.c \ 288 generic/src/kobject/kobject.c \ 288 289 generic/src/security/perm.c \ 289 290 generic/src/sysinfo/sysinfo.c \ -
kernel/generic/include/kobject/kobject.h
rc8cec85 r7e3826d9 40 40 #define MAX_KERNEL_OBJECTS 64 41 41 42 #define KOBJECT_INVALID_CAP -1 43 42 44 typedef enum { 43 KOBJECT_TYPE_INVALID 45 KOBJECT_TYPE_INVALID, 46 KOBJECT_TYPE_ALLOCATED 44 47 } kobject_type_t; 45 48 … … 50 53 } kobject_t; 51 54 55 extern kobject_t *kobject_get_local(int, kobject_type_t); 56 57 struct task; 58 extern int kobject_alloc(struct task *); 59 extern void kobject_free(struct task *, int); 52 60 53 61 #endif -
kernel/generic/include/proc/task.h
rc8cec85 r7e3826d9 97 97 perm_t perms; 98 98 99 /** Sending communication endpoints */99 /** Kernel objects */ 100 100 kobject_t kobject[MAX_KERNEL_OBJECTS]; 101 101
Note:
See TracChangeset
for help on using the changeset viewer.