# HG changeset patch # User anatofuz # Date 1578989432 -32400 # Node ID 5de948efb67808cf90ce0bb3bca1efce55e27723 # Parent eda7ea83f4f359c89d35e7d550f23564b96aeaf4 mv move_data_gears to impl diff -r eda7ea83f4f3 -r 5de948efb678 src/impl/pipe.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/impl/pipe.h Tue Jan 14 17:10:32 2020 +0900 @@ -0,0 +1,9 @@ +typedef struct pipe Impl file { + #define PIPESIZE 512 + struct spinlock lock; + char data[PIPESIZE]; + uint nread; // number of bytes read + uint nwrite; // number of bytes written + int readopen; // read fd is still open + int writeopen; // write fd is still open +} pipe; diff -r eda7ea83f4f3 -r 5de948efb678 src/move_data_gears/pipe.h --- a/src/move_data_gears/pipe.h Tue Jan 14 17:03:06 2020 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ -typedef struct pipe Impl file { - #define PIPESIZE 512 - struct spinlock lock; - char data[PIPESIZE]; - uint nread; // number of bytes read - uint nwrite; // number of bytes written - int readopen; // read fd is still open - int writeopen; // write fd is still open -} pipe;