Added test code for testing of directory listing.

Added system call prototypes and posix glue for reading a directory.

TODO:
FS0 should implement the L4_IPC_TAG_READDIR ipc call.
This commit is contained in:
Bahadir Balban
2008-02-12 19:09:46 +00:00
parent 86dfd6a753
commit 193430d226
5 changed files with 210 additions and 12 deletions

View File

@@ -39,6 +39,7 @@
#define L4_IPC_TAG_LSEEK 15
#define L4_IPC_TAG_CLOSE 16
#define L4_IPC_TAG_BRK 17
#define L4_IPC_TAG_READDIR 18
/* Tags for ipc between fs0 and mm0 */
#define L4_IPC_TAG_OPENDATA 25

View File

@@ -0,0 +1,7 @@
#ifndef __OS_READDIR_H__
#define __OS_READDIR_H__
/* Any os syscall related data that is not in posix */
ssize_t os_readdir(int fd, void *buf, size_t count);
#endif