mirror of
https://github.com/drasko/codezero.git
synced 2026-01-14 11:53:15 +01:00
Finished adding untested bare functionality vfs
Finished adding untested shm syscalls. Finished adding untested l4 send/recv helpers Everything compiles. Now going to fix lots of bugs ;-)
This commit is contained in:
@@ -88,6 +88,10 @@
|
||||
#define printk printf
|
||||
#endif
|
||||
|
||||
/* Functions who may either return a pointer or an error code can use these: */
|
||||
#define PTR_ERR(x) ((void *)(x))
|
||||
#define IS_ERR(x) (((int)(x)) < 0)
|
||||
|
||||
/* TEST: Is this type of printk well tested? */
|
||||
#define BUG() {do { \
|
||||
printk("BUG in file: %s function: %s line: %d\n", \
|
||||
|
||||
Reference in New Issue
Block a user