blob: fe9219f6208d6da094424d5aa0834ed069eb32ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// abstraction layer for filesystems
#include <lib/int/stdint.h>
#include "fs.h"
//
// returns number of entries in the directory specified by name.
// fills 0-max into *dirs
int fs_readdir(const char *name,fs_dirent *dirs,int max)
{
return ext2_read_dir(EXT2_RAM_ADDRESS, name,dirs,max); // TODO: hardcoded, fix this
}
|