kern

view src/klibc/assert.h @ 56:0be4615594df

finally, runqueues, blocking, waking up, idle loop etc, all seem to work fine on a single user process... Next up: try forking another one :)
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 15 Aug 2011 06:17:58 +0300
parents fa65b4f45366
children
line source
1 #ifndef ASSERT_H_
2 #define ASSERT_H_
4 #include "panic.h"
6 #define assert(x) \
7 if(!(x)) { \
8 panic("Kernel assertion failed at " __FILE__ ":%d: " #x "\n", __LINE__); \
9 }
11 #endif /* ASSERT_H_ */