diff options
| author | Michal Idziorek <m.i@gmx.at> | 2015-05-16 20:42:37 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2015-05-16 20:42:37 +0200 |
| commit | 3bac6dd02d640923646b8ad988f509f47adab57f (patch) | |
| tree | 42d91a578fba55f6e0e6e473644aa7941ae1863c /fs | |
| parent | ec6d07e29d1d55afe9d2c6f7f25e9fed20819af6 (diff) | |
working on smp support, strange things happening!?
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/fs.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -41,6 +41,12 @@ void fs_mount(multiboot_information *info) } } +void fs_content(char *path, uint32_t dest, uint32_t max_bytes) +{ + int inode= ext2_filename_to_inode(root_ext2_ramimage, path); + ext2_inode_content(root_ext2_ramimage,inode,dest,max_bytes); +} + uint32_t fs_get_root_ext2_ramimage() { return root_ext2_ramimage; |
