Mercurial > hg > Members > tobaru > CbC_xv6
diff src/gearsTools/lib/Gears/Context/Template/XV6.pm @ 160:db7d79dea533
include usr.h and types.h in XV6.pm
author | tobaru |
---|---|
date | Sun, 22 Dec 2019 18:52:56 +0900 |
parents | 124c59d99fc9 |
children |
line wrap: on
line diff
--- a/src/gearsTools/lib/Gears/Context/Template/XV6.pm Fri Dec 20 17:02:50 2019 +0900 +++ b/src/gearsTools/lib/Gears/Context/Template/XV6.pm Sun Dec 22 18:52:56 2019 +0900 @@ -35,6 +35,8 @@ #define calloc(a,b) kmalloc((a)*(b)) #define free(a) kfree(a) #else +#include "types.h" +#include "user.h" #define calloc(a,b) malloc((a)*(b)) #define free(a) free(a) #endif