You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
413 B

#ifndef _SDH_
#define _SDH_
/*
* Some poeration function for bdevsw[].
*/
int sdopen(dev_t, int, int, struct proc *);
int sdread(dev_t, struct uio *, int);
int sdwrite(dev_t, struct uio *, int);
int sdclose(dev_t, int, int, struct proc *);
int sdioctl(dev_t, u_long, caddr_t, int, struct proc *);
int sddump(dev_t, daddr64_t, caddr_t, size_t);
void sdstrategy(struct buf *);
daddr64_t sdsize(dev_t);
#endif