Mercurial > hg > Members > menikon > CbC_xv6
diff src/context.h @ 53:435bfab09924
fix cmakefiles
author | kono |
---|---|
date | Mon, 03 Jun 2019 19:39:11 +0900 (2019-06-03) |
parents | 214d21c891c7 |
children | a28580a75faa |
line wrap: on
line diff
--- a/src/context.h Mon Jun 03 18:12:44 2019 +0900 +++ b/src/context.h Mon Jun 03 19:39:11 2019 +0900 @@ -10,7 +10,13 @@ #include "helper_cuda.h" #endif -// #include "use_context_numbers.h" +#include "types.h" +#include "use_context_numbers.h" +#include "fs.h" +#include "defs.h" + +#define calloc(a,b) kmalloc((a)*(b)) +#define free(a) kfree(a) #define ALLOCATE_SIZE 20000000 #define NEW(type) (type*)(calloc(1, sizeof(type)))