Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/userboot/userboot/host.c
Show First 20 Lines • Show All 161 Lines • ▼ Show 20 Lines | |||||
static int | static int | ||||
host_dev_close(struct open_file *f) | host_dev_close(struct open_file *f) | ||||
{ | { | ||||
return (0); | return (0); | ||||
} | } | ||||
static int | static int | ||||
host_dev_strategy(void *devdata, int rw, daddr_t dblk, size_t size, | host_dev_strategy(void *devdata, int rw, daddr_t dblk, size_t offset, | ||||
char *buf, size_t *rsize) | size_t size, char *buf, size_t *rsize) | ||||
{ | { | ||||
return (ENOSYS); | return (ENOSYS); | ||||
} | } | ||||
struct fs_ops host_fsops = { | struct fs_ops host_fsops = { | ||||
"host", | "host", | ||||
host_open, | host_open, | ||||
Show All 19 Lines |