39,11 → 39,11 |
*/ |
|
/* |
* CVS : $Id: bdev.h,v 1.1.1.1 2002-03-29 14:12:49 pj Exp $ |
* CVS : $Id: bdev.h,v 1.2 2003-03-13 13:43:13 pj Exp $ |
* |
* File: $File$ |
* Revision: $Revision: 1.1.1.1 $ |
* Last update: $Date: 2002-03-29 14:12:49 $ |
* Revision: $Revision: 1.2 $ |
* Last update: $Date: 2003-03-13 13:43:13 $ |
*/ |
|
#ifndef __BDEV_H__ |
52,7 → 52,10 |
#include "glue.h" |
#include <fs/bdevinit.h> |
#include <fs/bdev.h> |
#include "ll/sys/cdefs.h" |
|
__BEGIN_DECLS |
|
#define MAXBLOCKDEVICE 8 |
|
struct block_device { |
105,4 → 108,5 |
int bdev_seek(__dev_t dev, __blkcnt_t blocknum); |
int bdev_write(__dev_t dev, __blkcnt_t blocknum, __uint8_t *buffer); |
|
__END_DECLS |
#endif |