Add pseudo devices
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
#include "sys/types.h"
|
||||
|
||||
struct chrdev {
|
||||
char name[64];
|
||||
void *dev_data;
|
||||
|
||||
// TODO: maybe something like flush()
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user