Core: fat: make the file->file_len to store the dir sector number when we search...
authorLiu Aleaxander <Aleaxander@gmail.com>
Mon, 17 Aug 2009 08:28:52 +0000 (16:28 +0800)
committerLiu Aleaxander <Aleaxander@gmail.com>
Mon, 17 Aug 2009 08:28:52 +0000 (16:28 +0800)
commit04599613bd3fa33e99dde9d3bc12f0cf3b3769fb
treee5da62a990385b29c216c7ac2a4a7d9d9315bdcc
parent7c74cc5a7bd4ee6e61f2baf686f5c6a94af20a65
Core: fat: make the file->file_len to store the dir sector number when we search a dir

Because the opendir function in com32/lib/opendir.c use the eax to store the
dir sector, where we store the file_len before. Well, we may need add a union
structure in the file structure to store the file_len for file, file_dir for
dir respecifictly

Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
core/comboot.inc
core/fs/fat/fat.c