changeset 238:e825c247ab24

build success
author menikon
date Wed, 29 Jan 2020 22:17:40 +0900
parents 2e71e7776062
children edc8e6c71dc6
files src/gearsTools/lib/Gears/Context/Template/XV6.pm src/impl/fs_impl.cbc
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }
--- 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(...);