Skip to content

Instantly share code, notes, and snippets.

#include "types.h"
#include "user.h"
#define PGSIZE 4096
#define ASSERT(cond, ...) \
if(!cond){ \
printf(2, "FAIL at %s:%d - ", __FUNCTION__, __LINE__); \
printf(2, "\n"); \
exit(); \
}
@hagai-lvi
hagai-lvi / xv6_patch
Last active August 29, 2015 14:19 — forked from arielqw/xv6_patch
git remote add bgu http://www.cs.bgu.ac.il/~os152/xv6.git
git fetch bgu
git diff master bgu/master > ID1_ID2.patch
@hagai-lvi
hagai-lvi / xv6_patch
Last active August 29, 2015 14:19 — forked from arielqw/xv6_patch
git remote add bgu http://www.cs.bgu.ac.il/~os152/xv6.git
git fetch bgu
git diff master bgu/master > ID1_ID2.patch