mirror of https://github.com/acidanthera/audk.git
EFI_FILE_TAIL_ATTRIBUTE does not support in PI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3606 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
1b144bbfe3
commit
2a7e6bb29d
|
@ -220,13 +220,6 @@ Returns:
|
||||||
//
|
//
|
||||||
*Size = FileLength - sizeof(EFI_FFS_FILE_HEADER);
|
*Size = FileLength - sizeof(EFI_FFS_FILE_HEADER);
|
||||||
|
|
||||||
if (FfsFileHeader->Attributes & FFS_ATTRIB_TAIL_PRESENT) {
|
|
||||||
//
|
|
||||||
// If tail is present substract it's size;
|
|
||||||
//
|
|
||||||
*Size -= sizeof(EFI_FFS_FILE_TAIL);
|
|
||||||
}
|
|
||||||
|
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue