# HG changeset patch # User menikon # Date 1580303860 -32400 # Node ID e825c247ab2432c184aaf5567c2b56198b0e109a # Parent 2e71e77760628e581b57a08ef5d2ea7dd33cb23a build success diff -r 2e71e7776062 -r e825c247ab24 src/gearsTools/lib/Gears/Context/Template/XV6.pm --- a/src/gearsTools/lib/Gears/Context/Template/XV6.pm Wed Jan 29 21:40:55 2020 +0900 +++ b/src/gearsTools/lib/Gears/Context/Template/XV6.pm Wed Jan 29 22:17:40 2020 +0900 @@ -164,6 +164,8 @@ typedef struct proc proc_struct; typedef uint32 pte_t; typedef uint32 pde_t; +typedef struct stat stat; +typedef struct superblock superblock; EOFEOF print $out $str; } diff -r 2e71e7776062 -r e825c247ab24 src/impl/fs_impl.cbc --- a/src/impl/fs_impl.cbc Wed Jan 29 21:40:55 2020 +0900 +++ b/src/impl/fs_impl.cbc Wed Jan 29 22:17:40 2020 +0900 @@ -36,7 +36,7 @@ return fs; } - +typedef struct superblock superblock; __code readsbfs_impl(struct fs_impl* fs, uint dev, struct superblock* sb, __code next(...)) { //:skip goto next(...); @@ -82,6 +82,7 @@ goto next(...); } +typedef struct stat stat; __code statifs_impl(struct fs_impl* fs , struct inode* ip, struct stat* st, __code next(...)) { //:skip goto next(...);