source:
vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h@
89977
最後變更 在這個檔案從89977是 85718,由 提交於 5 年 前 | |
---|---|
|
|
檔案大小: 571 位元組 |
行 | |
---|---|
1 | /** @file |
2 | LZMA UEFI header file |
3 | |
4 | Allows LZMA code to build under UEFI (edk2) build environment |
5 | |
6 | Copyright (c) 2009, Intel Corporation. All rights reserved.<BR> |
7 | SPDX-License-Identifier: BSD-2-Clause-Patent |
8 | |
9 | **/ |
10 | |
11 | #ifndef __UEFILZMA_H__ |
12 | #define __UEFILZMA_H__ |
13 | |
14 | #include <Uefi.h> |
15 | #include <Library/BaseMemoryLib.h> |
16 | |
17 | #ifdef _WIN32 |
18 | #undef _WIN32 |
19 | #endif |
20 | |
21 | typedef UINTN size_t; |
22 | |
23 | #ifdef _WIN64 |
24 | #undef _WIN64 |
25 | #endif |
26 | |
27 | #ifndef _PTRDIFF_T_DEFINED |
28 | typedef int ptrdiff_t; |
29 | #endif |
30 | |
31 | #define memcpy CopyMem |
32 | #define memmove CopyMem |
33 | |
34 | #define _LZMA_SIZE_OPT |
35 | |
36 | #endif // __UEFILZMA_H__ |
37 |
注意:
瀏覽 TracBrowser
來幫助您使用儲存庫瀏覽器