Differences From Artifact [4d62b7403b]:
- File kmem/mem.h — part of check-in [a14ceee056] at 2019-06-27 21:39:17 on branch trunk — development milestone (user: lexi, size: 428) [annotate] [blame] [check-ins using]
To Artifact [551899b415]:
- File kmem/mem.h — part of check-in [51af496851] at 2019-06-28 04:48:43 on branch trunk — add Kmsz macro (user: lexi, size: 501) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 |
#ifndef KImem #define KImem #include <k/type.h> typedef enum kmkind { kmkind_none, kmkind_heap, kmkind_pool, kmkind_ref, kmkind_tree |
> > > > |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#ifndef KImem #define KImem #include <k/type.h> #ifndef KFclean # define Kmsz(e) ( sizeof (e) / sizeof (e) [0] ) #endif typedef enum kmkind { kmkind_none, kmkind_heap, kmkind_pool, kmkind_ref, kmkind_tree |