Mercurial > hg > CbC > CbC_xv6
comparison src/impl/ConsoleIO.h @ 347:ea5ee6e71a3b
add io interface
author | anatofuz |
---|---|
date | Mon, 02 Mar 2020 14:24:17 +0900 |
parents | |
children | 1616cb02ecec |
comparison
equal
deleted
inserted
replaced
346:36ed64fea8c1 | 347:ea5ee6e71a3b |
---|---|
1 typedef struct ConsoleIO <Type, Isa> impl IO { | |
2 __code consoleread1(Type* IO, int n, int target, char* dst, struct inode* ip, __code next(...)); | |
3 __code consoleread2(Type* IO, struct inode* ip, __code next(...)); | |
4 __code next(....); | |
5 } ConsoleIO; |