Mercurial > hg > Members > tobaru > CbC_xv6
view src/interface/SysRead.h @ 138:e3dd8f96c2fb
add impl file read interface
author | anatofuz |
---|---|
date | Thu, 12 Dec 2019 14:13:51 +0900 |
parents | 0c24464a66d8 |
children | 0f8ae55cacbe |
line wrap: on
line source
typedef struct SysRead<Type, Impl>{ union Data* sys_read; union Data* impl; char* addr; int n; __code read(Impl* sys_read, union Data* impl, char* addr, int n, __code (*next)(int ret)); __code next(...); } SysRead;