]>
git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecUefiSupport.h
2 BROTLI UEFI header file for definitions
4 Allows BROTLI code to build under UEFI (edk2) build environment
6 Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
11 #ifndef __BROTLI_DECOMPRESS_UEFI_SUP_H__
12 #define __BROTLI_DECOMPRESS_UEFI_SUP_H__
14 #include <Library/BaseLib.h>
15 #include <Library/BaseMemoryLib.h>
16 #include <Library/DebugLib.h>
17 #define memcpy CopyMem
18 #define memmove CopyMem
19 #define memset(dest,ch,count) SetMem(dest,(UINTN)(count),(UINT8)(ch))
20 #define malloc BrDummyMalloc
21 #define free BrDummyFree
24 typedef INT16
int16_t;
25 typedef INT32
int32_t;
26 typedef INT64
int64_t;
27 typedef UINT8
uint8_t;
28 typedef UINT16
uint16_t;
29 typedef UINT32
uint32_t;
30 typedef UINT64
uint64_t;