Mercurial > hg > Members > menikon > CbC_xv6
diff src/interface/CbCSysFile.h @ 92:bc5bcfd2f6d6
rename CbCFile to CbCSysFile
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 19 Oct 2019 16:44:24 +0900 |
parents | src/interface/CbCFile.h@b5ddf6fb0a6d |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/interface/CbCSysFile.h Sat Oct 19 16:44:24 2019 +0900 @@ -0,0 +1,10 @@ +typedef struct CbCSysFile<Type, Impl>{ + struct CbCSysFile* cbc_file; + struct UInteger* num; + int n; + char *p; + struct file *f; + __code file_read(__code next(...)); + __code cbc_ret(Impl* cbc_sys_file, UInteger* num); + __code next(...); +} CbCSysFile;