Add pseudo devices

This commit is contained in:
Mark
2019-12-30 01:43:40 +02:00
parent 6545e05462
commit 164022b8d1
6 changed files with 65 additions and 4 deletions
-1
View File
@@ -2,7 +2,6 @@
#include "sys/types.h"
struct chrdev {
char name[64];
void *dev_data;
// TODO: maybe something like flush()
+1
View File
@@ -13,6 +13,7 @@ enum dev_class {
#define DEV_BLOCK_HDx 2
#define DEV_BLOCK_RAM 3
#define DEV_BLOCK_PART 127
#define DEV_BLOCK_PSEUDO 128
struct dev_entry {
char dev_name[64];