projects
/
akaros.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added weak attribute definition
[akaros.git]
/
kern
/
include
/
kmalloc.h
diff --git
a/kern/include/kmalloc.h
b/kern/include/kmalloc.h
index
26f23c1
..
1c06403
100644
(file)
--- a/
kern/include/kmalloc.h
+++ b/
kern/include/kmalloc.h
@@
-31,7
+31,8
@@
void *debug_canary;
/* Flags to pass to kmalloc */
/* Not implemented yet. Block until it is available. */
-#define KMALLOC_WAIT 4
+#define KMALLOC_WAIT (1 << 2)
+#define KMALLOC_ERROR (1 << 3)
/* Kmalloc tag flags looks like this:
*