Mercurial > hg > Members > tobaru > CbC_xv6
changeset 160:db7d79dea533
include usr.h and types.h in XV6.pm
author | tobaru |
---|---|
date | Sun, 22 Dec 2019 18:52:56 +0900 |
parents | e8b76f16de1a |
children | c8965bb0f84c |
files | src/gearsTools/lib/Gears/Context/Template/XV6.pm |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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