diff --git a/include/device.h b/include/device.h index e390b2e..f97d06f 100644 --- a/include/device.h +++ b/include/device.h @@ -32,9 +32,8 @@ #include -struct dev_t; -typedef struct device_node { +typedef struct dev_t { int major; void *info; int (*read)(dev_t *,void *,uInt32,uInt32); @@ -45,7 +44,7 @@ void (*stop)(void *); void (*start)(void *); void (*standby)(void *); - } dev_t; + }; dev_t *dev_ramDrive(); @@ -53,6 +52,9 @@ /*** $Log$ + Revision 1.1 2004/08/13 16:51:55 reddawg + Start of ubixfs shell + END ***/ diff --git a/ramdrive.cc b/ramdrive.cc index b4241ca..05e9feb 100644 --- a/ramdrive.cc +++ b/ramdrive.cc @@ -43,13 +43,16 @@ ramDrive = (dev_t *)malloc(sizeof(dev_t)); - ramDrive->read = ramDrive_read; + //ramDrive->read = ramDrive_read; return(ramDrive); } /*** $Log$ + Revision 1.1 2004/08/13 16:51:55 reddawg + Start of ubixfs shell + END ***/ diff --git a/vfs.cc b/vfs.cc index acc8640..94f9224 100644 --- a/vfs.cc +++ b/vfs.cc @@ -32,12 +32,14 @@ #include int vfs::vfs_initFS() { - printf("test: %i\n",dev->i); return(0x0); } /*** $Log$ + Revision 1.1 2004/08/13 16:51:55 reddawg + Start of ubixfs shell + END ***/