blob: 5f5ea7576cdcf7204d1407a9feffc97c15444b2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// abstraction layer for filesystems
#include <lib/int/stdint.h>
#include "fs.h"
#include "ext2.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
}
|