Mercurial > hg > Members > menikon > CbC_xv6
comparison src/context.h @ 109:4f9d95dc4efd
fix createInstance
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 21 Nov 2019 21:10:25 +0900 |
parents | 547c20b052dc |
children |
comparison
equal
deleted
inserted
replaced
108:8162269b5682 | 109:4f9d95dc4efd |
---|---|
470 short value; | 470 short value; |
471 } Short; | 471 } Short; |
472 struct String { | 472 struct String { |
473 char* string; | 473 char* string; |
474 } String; | 474 } String; |
475 struct SysFileRead { | |
476 struct file *f; | |
477 } SysFileRead; | |
478 struct CbCPipe { | 475 struct CbCPipe { |
479 struct pipe *p; | 476 struct pipe *p; |
480 } CbCPipe; | 477 } CbCPipe; |
481 struct PipeRead { | 478 struct PipeRead { |
482 struct CbCPipe *pipe; | 479 struct CbCPipe *pipe; |
489 int n; | 486 int n; |
490 struct String *p; | 487 struct String *p; |
491 enum Code read; | 488 enum Code read; |
492 enum Code next; | 489 enum Code next; |
493 } SysRead; | 490 } SysRead; |
491 struct FileRead { | |
492 struct file *f; | |
493 } FileRead; | |
494 }; // union Data end this is necessary for cbc_context generator | 494 }; // union Data end this is necessary for cbc_context generator |
495 | 495 |
496 /* | 496 /* |
497 struct cbc_console_arg { | 497 struct cbc_console_arg { |
498 int n; | 498 int n; |