Mercurial > hg > Members > menikon > CbC_xv6
diff src/context.h @ 91:b5ddf6fb0a6d
use CbCFile instead of File struct Interface
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Oct 2019 20:39:36 +0900 |
parents | add5e775339c |
children | bc5bcfd2f6d6 |
line wrap: on
line diff
--- a/src/context.h Thu Oct 17 10:42:54 2019 +0900 +++ b/src/context.h Fri Oct 18 20:39:36 2019 +0900 @@ -226,6 +226,13 @@ struct CUDAWorker { } CUDAWorker; #endif + struct CbCFile { + struct file *f; + int n; + char *p; + enum Code next; + enum Code read; + } CbCFile; struct Main { enum Code code; enum Code next;