Last change
on this file since 85716 was 80721, checked in by vboxsync, 5 years ago |
Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
658 bytes
|
Line | |
---|
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 | #ifndef _SIZE_T_DEFINED
|
---|
22 | #if !defined(_WIN64) || defined(__GNUC__)
|
---|
23 | typedef unsigned int size_t;
|
---|
24 | #endif
|
---|
25 | #endif
|
---|
26 |
|
---|
27 | #ifdef _WIN64
|
---|
28 | #undef _WIN64
|
---|
29 | #endif
|
---|
30 |
|
---|
31 | #ifndef _PTRDIFF_T_DEFINED
|
---|
32 | typedef int ptrdiff_t;
|
---|
33 | #endif
|
---|
34 |
|
---|
35 | #define memcpy CopyMem
|
---|
36 | #define memmove CopyMem
|
---|
37 |
|
---|
38 | #define _LZMA_SIZE_OPT
|
---|
39 |
|
---|
40 | #endif // __UEFILZMA_H__
|
---|
41 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.