diff options
author | Pixel <pixel@nobis-crew.org> | 2011-01-29 18:34:54 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-01-29 18:34:54 -0800 |
commit | ea49b5b3f435bce0a301111fad0738efb0b39e0d (patch) | |
tree | aa595cc250514f5225f624d2e691e144c740c567 /os/include | |
parent | 7182d70210f4880e66ae9e5a5531bddd3a90737b (diff) |
Adding some romfs support.
Diffstat (limited to 'os/include')
-rw-r--r-- | os/include/fio.h | 1 | ||||
-rw-r--r-- | os/include/romfs.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/os/include/fio.h b/os/include/fio.h index e4ba659..c57b293 100644 --- a/os/include/fio.h +++ b/os/include/fio.h @@ -24,6 +24,7 @@ ssize_t fio_read(int fd, void * buf, size_t count); ssize_t fio_write(int fd, const void * buf, size_t count); off_t fio_seek(int fd, off_t offset, int whence); int fio_close(int fd); +void fio_set_opaque(int fd, void * opaque); void register_devfs(); diff --git a/os/include/romfs.h b/os/include/romfs.h new file mode 100644 index 0000000..b227baa --- /dev/null +++ b/os/include/romfs.h @@ -0,0 +1,9 @@ +#ifndef __ROMFS_H__ +#define __ROMFS_H__ + +#include <stdint.h> + +void register_romfs(const char * mountpoint, const uint8_t * romfs); + +#endif + |