Core: vfs-dir stuff re-implemented
authorLiu Aleaxander <Aleaxander@gmail.com>
Fri, 28 Aug 2009 10:27:51 +0000 (18:27 +0800)
committerLiu Aleaxander <Aleaxander@gmail.com>
Fri, 28 Aug 2009 10:27:51 +0000 (18:27 +0800)
commitc29a8049d462815774bbce8f80a8471a985bafcd
tree38420b5b946d76a7c44629cbd54da0a5c646d0f7
parent6fcebf4ed2be8de96ff106c3755c7776f1c66804
Core: vfs-dir stuff re-implemented

We fist make it simple, as told by hpa. Here're the changes:
1, The DIR structure changed, just a file pointer included.
2. So, the open/close/read-dir stuff in com32/lib/ changed again.
3. We read one stuff from every readdir call.

Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
13 files changed:
com32/include/dirent.h
com32/lib/closedir.c
com32/lib/opendir.c
com32/lib/readdir.c
com32/modules/dir.c
com32/rosh/rosh.c
core/comboot.inc
core/dir.c
core/extern.inc
core/fs.c
core/fs/fat/fat.c
core/include/dir.h
core/include/fs.h