Overview
Comment: | add Kmsz macro |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
51af4968511db2a9aed06712f7f15daf |
User & Date: | lexi on 2019-06-28 04:48:43 |
Other Links: | manifest | tags |
Context
2019-06-28
| ||
04:52 | fix stupid bullshit that was including boot.o in libk.a which already HAS the runtime shit ohmyGOD check-in: de8e1eb5d2 user: lexi tags: trunk | |
04:48 | add Kmsz macro check-in: 51af496851 user: lexi tags: trunk | |
04:35 | fix useless params check-in: f5e894f1c4 user: lexi tags: trunk | |
Changes
Modified kmem/mem.h from [4d62b7403b] to [551899b415].
1 1 #ifndef KImem 2 2 #define KImem 3 3 #include <k/type.h> 4 + 5 +#ifndef KFclean 6 +# define Kmsz(e) ( sizeof (e) / sizeof (e) [0] ) 7 +#endif 4 8 5 9 typedef enum kmkind { 6 10 kmkind_none, 7 11 kmkind_heap, 8 12 kmkind_pool, 9 13 kmkind_ref, 10 14 kmkind_tree