UEFITool 0.19.2

- correct a bug with legacy EFI1.1/Tiano compression routines, which lead to possible image corruption
This commit is contained in:
Nikolaj Schlej 2014-11-10 17:48:59 +01:00
parent b9f4142aac
commit d89aac244c
6 changed files with 3364 additions and 1608 deletions

View file

@ -55,15 +55,23 @@ extern "C" {
EFI_INVALID_PARAMETER - Parameter supplied is wrong.
--*/
UINT8
EFI_STATUS
TianoCompress(
CONST VOID *SrcBuffer,
CONST UINT64 SrcSize,
UINT32 SrcSize,
VOID *DstBuffer,
UINT64 *DstSize
UINT32 *DstSize
)
;
EFI_STATUS
TianoCompressLegacy(
CONST VOID *SrcBuffer,
UINT32 SrcSize,
VOID *DstBuffer,
UINT32 *DstSize
)
;
/*++
Routine Description:
@ -87,12 +95,20 @@ extern "C" {
EFI_INVALID_PARAMETER - Parameter supplied is wrong.
--*/
UINT8
EFI_STATUS
EfiCompress(
CONST VOID *SrcBuffer,
CONST UINT64 SrcSize,
UINT32 SrcSize,
VOID *DstBuffer,
UINT64 *DstSize
UINT32 *DstSize
)
;
EFI_STATUS
EfiCompressLegacy(
CONST VOID *SrcBuffer,
UINT32 SrcSize,
VOID *DstBuffer,
UINT32 *DstSize
)
;