Fix many bugs in DUET package and now DUET package is enabled for floppy successful.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5158 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2
2008-05-05 06:50:12 +00:00
parent 10590588cc
commit be768885bf
8 changed files with 39 additions and 31 deletions

View File

@@ -229,7 +229,9 @@ OnSimpleFileSystemInstall (
NumBytes = Dev->Size;
Status = File->Write (File, &NumBytes, VAR_DATA_PTR (Dev));
ASSERT_EFI_ERROR (Status);
FileClose (File);
// KEN: bugbug here if closing file, volume handle will be free,
// and system will be hang when accessing volume handle in future.
//FileClose (File);
DEBUG ((EFI_D_ERROR, "FileStorage: Mapped to file!\n"));
}
@@ -407,7 +409,7 @@ OpenStore (
if (EFI_ERROR (Status)) {
return Status;
}
//
// Open the root directory of the volume
//