mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-06-01 07:48:22 -04:00
Version 0.17.1
This commit is contained in:
parent
66dc4bb6e3
commit
dfb307b4aa
15 changed files with 103 additions and 86 deletions
|
@ -339,7 +339,7 @@ Returns:
|
|||
}
|
||||
|
||||
//
|
||||
// Fillcompressed size and original size
|
||||
// Fill compressed size and original size
|
||||
//
|
||||
mDst = DstBuffer;
|
||||
PutDword(mCompSize+1);
|
||||
|
@ -368,11 +368,11 @@ PutDword(
|
|||
|
||||
Routine Description:
|
||||
|
||||
Put a dword to output stream
|
||||
Put a DWORD to output stream
|
||||
|
||||
Arguments:
|
||||
|
||||
Data - the dword to put
|
||||
Data - the DWORD to put
|
||||
|
||||
Returns: (VOID)
|
||||
|
||||
|
@ -402,9 +402,9 @@ AllocateMemory ()
|
|||
|
||||
Routine Description:
|
||||
|
||||
Allocate memory spaces for data structures usedcompression process
|
||||
Allocate memory spaces for data structures used in compression process
|
||||
|
||||
Argements: (VOID)
|
||||
Arguments: (VOID)
|
||||
|
||||
Returns:
|
||||
|
||||
|
@ -656,7 +656,7 @@ Returns: (VOID)
|
|||
|
||||
//
|
||||
// We have just got a long match, the target tree
|
||||
// can be located by MatchPos + 1. Travese the tree
|
||||
// can be located by MatchPos + 1. Traverse the tree
|
||||
// from bottom up to get to a proper starting point.
|
||||
// The usage of PERC_FLAG ensures proper node deletion
|
||||
//DeleteNode() later.
|
||||
|
@ -830,7 +830,7 @@ GetNextMatch ()
|
|||
|
||||
Routine Description:
|
||||
|
||||
Advance the current position (readnew data if needed).
|
||||
Advance the current position (read new data if needed).
|
||||
Delete outdated string info. Find a match string for current position.
|
||||
|
||||
Arguments: (VOID)
|
||||
|
@ -1285,7 +1285,7 @@ Routine Description:
|
|||
|
||||
Outputs rightmost n bits of x
|
||||
|
||||
Argments:
|
||||
Arguments:
|
||||
|
||||
n - the rightmost n bits of the data is used
|
||||
x - the data
|
||||
|
@ -1331,7 +1331,7 @@ FreadCrc (
|
|||
|
||||
Routine Description:
|
||||
|
||||
Readsource data
|
||||
Read source data
|
||||
|
||||
Arguments:
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ Creates Huffman Code mapping table according to code length array.
|
|||
Arguments:
|
||||
|
||||
Sd - The global scratch data
|
||||
NumOfChar - Number of symbolsthe symbol set
|
||||
NumOfChar - Number of symbols in the symbol set
|
||||
BitLen - Code length array
|
||||
TableBits - The width of the mapping table
|
||||
Table - The table
|
||||
|
@ -681,7 +681,7 @@ ScratchSize - The size of scratch buffer.
|
|||
|
||||
Returns:
|
||||
|
||||
EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
|
||||
EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
|
||||
EFI_INVALID_PARAMETER - The source data is corrupted
|
||||
|
||||
--*/
|
||||
|
@ -729,7 +729,7 @@ Version 2 for Tiano de/compression algorithm.
|
|||
|
||||
Returns:
|
||||
|
||||
EFI_SUCCESS - Decompression is successfull
|
||||
EFI_SUCCESS - Decompression is successful
|
||||
EFI_INVALID_PARAMETER - The source data is corrupted
|
||||
|
||||
--*/
|
||||
|
@ -853,7 +853,7 @@ ScratchSize - The size of scratch buffer.
|
|||
|
||||
Returns:
|
||||
|
||||
EFI_SUCCESS - Decompression is successfull
|
||||
EFI_SUCCESS - Decompression is successful
|
||||
EFI_INVALID_PARAMETER - The source data is corrupted
|
||||
|
||||
--*/
|
||||
|
@ -900,7 +900,7 @@ ScratchSize - The size of scratch buffer.
|
|||
|
||||
Returns:
|
||||
|
||||
EFI_SUCCESS - Decompression is successfull
|
||||
EFI_SUCCESS - Decompression is successful
|
||||
EFI_INVALID_PARAMETER - The source data is corrupted
|
||||
|
||||
--*/
|
||||
|
|
|
@ -47,7 +47,7 @@ UINT32 *ScratchSize
|
|||
|
||||
Routine Description:
|
||||
|
||||
The implementation is same as that of EFI_DECOMPRESS_PROTOCOL.GetInfo().
|
||||
The implementation is same as that of EFI_DECOMPRESS_PROTOCOL.GetInfo().
|
||||
|
||||
Arguments:
|
||||
|
||||
|
@ -59,7 +59,7 @@ ScratchSize - The size of scratch buffer.
|
|||
|
||||
Returns:
|
||||
|
||||
EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
|
||||
EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
|
||||
EFI_INVALID_PARAMETER - The source data is corrupted
|
||||
|
||||
--*/
|
||||
|
@ -93,7 +93,7 @@ ScratchSize - The size of scratch buffer.
|
|||
|
||||
Returns:
|
||||
|
||||
EFI_SUCCESS - Decompression is successfull
|
||||
EFI_SUCCESS - Decompression is successful
|
||||
EFI_INVALID_PARAMETER - The source data is corrupted
|
||||
|
||||
--*/
|
||||
|
@ -127,7 +127,7 @@ ScratchSize - The size of scratch buffer.
|
|||
|
||||
Returns:
|
||||
|
||||
EFI_SUCCESS - Decompression is successfull
|
||||
EFI_SUCCESS - Decompression is successful
|
||||
EFI_INVALID_PARAMETER - The source data is corrupted
|
||||
|
||||
--*/
|
||||
|
|
|
@ -374,11 +374,11 @@ STATIC
|
|||
|
||||
Routine Description:
|
||||
|
||||
Put a dword to output stream
|
||||
Put a DWORD to output stream
|
||||
|
||||
Arguments:
|
||||
|
||||
Data - the dword to put
|
||||
Data - the DWORD to put
|
||||
|
||||
Returns: (VOID)
|
||||
|
||||
|
@ -412,7 +412,7 @@ STATIC
|
|||
|
||||
Allocate memory spaces for data structures used compression process
|
||||
|
||||
Argements:
|
||||
Arguments:
|
||||
VOID
|
||||
|
||||
Returns:
|
||||
|
@ -681,7 +681,7 @@ STATIC
|
|||
if (mMatchLen >= 4) {
|
||||
//
|
||||
// We have just got a long match, the target tree
|
||||
// can be located by MatchPos + 1. Travese the tree
|
||||
// can be located by MatchPos + 1. Traverse the tree
|
||||
// from bottom up to get to a proper starting point.
|
||||
// The usage of PERC_FLAG ensures proper node deletion
|
||||
// DeleteNode() later.
|
||||
|
@ -922,7 +922,7 @@ STATIC
|
|||
|
||||
Routine Description:
|
||||
|
||||
The macontrolling routine for compression process.
|
||||
The mac controlling routine for compression process.
|
||||
|
||||
Arguments: (VOID)
|
||||
|
||||
|
@ -1314,7 +1314,7 @@ STATIC
|
|||
if ((mOutputMask >>= 1) == 0) {
|
||||
mOutputMask = 1U << (UINT8_BIT - 1);
|
||||
//
|
||||
// Check the buffer overflow per outputing UINT8_BIT symbols
|
||||
// Check the buffer overflow per outputting UINT8_BIT symbols
|
||||
// which is an Original Character or a Pointer. The biggest
|
||||
// symbol is a Pointer which occupies 5 bytes.
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue