mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-28 22:16:03 -04:00
UEFIPatch 0.2.0 / UEFITool 0.18.0
- updated EFI11/Tiano compression and decompression code to UDK2014 versions - UEFIPatch rewritten to support offset-based patches and patterns with placeholder symbols
This commit is contained in:
parent
a3854ad059
commit
c23aef47be
11 changed files with 2227 additions and 2429 deletions
|
@ -1,13 +1,14 @@
|
|||
/* EFI/Tiano Compress Header
|
||||
/* EfiTianoCompress.h
|
||||
|
||||
Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.
|
||||
Copyright (c) 2014, Nikolaj Schlej. All rights reserved.<BR>
|
||||
Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHWARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
Module Name:
|
||||
|
||||
|
@ -54,12 +55,12 @@ Returns:
|
|||
EFI_INVALID_PARAMETER - Parameter supplied is wrong.
|
||||
|
||||
--*/
|
||||
INT32
|
||||
UINT8
|
||||
TianoCompress (
|
||||
UINT8 *SrcBuffer,
|
||||
UINT32 SrcSize,
|
||||
UINT8 *DstBuffer,
|
||||
UINT32 *DstSize
|
||||
CONST VOID *SrcBuffer,
|
||||
CONST UINT64 SrcSize,
|
||||
VOID *DstBuffer,
|
||||
UINT64 *DstSize
|
||||
)
|
||||
;
|
||||
|
||||
|
@ -86,12 +87,12 @@ Returns:
|
|||
EFI_INVALID_PARAMETER - Parameter supplied is wrong.
|
||||
|
||||
--*/
|
||||
INT32
|
||||
UINT8
|
||||
EfiCompress (
|
||||
UINT8 *SrcBuffer,
|
||||
UINT32 SrcSize,
|
||||
UINT8 *DstBuffer,
|
||||
UINT32 *DstSize
|
||||
CONST VOID *SrcBuffer,
|
||||
CONST UINT64 SrcSize,
|
||||
VOID *DstBuffer,
|
||||
UINT64 *DstSize
|
||||
)
|
||||
;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue