--- /dev/null
+/** @file\r
+ BROTLI UEFI header file for definitions\r
+\r
+ Allows BROTLI code to build under UEFI (edk2) build environment\r
+\r
+ Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+#ifndef __BROTLI_DECOMPRESS_UEFI_SUP_H__\r
+#define __BROTLI_DECOMPRESS_UEFI_SUP_H__\r
+\r
+#include <Library/BaseLib.h>\r
+#include <Library/BaseMemoryLib.h>\r
+#include <Library/DebugLib.h>\r
+#define memcpy CopyMem\r
+#define memmove CopyMem\r
+#define memset(dest,ch,count) SetMem(dest,(UINTN)(count),(UINT8)(ch))\r
+#define malloc BrDummyMalloc\r
+#define free BrDummyFree\r
+\r
+typedef INT8 int8_t;\r
+typedef INT16 int16_t;\r
+typedef INT32 int32_t;\r
+typedef INT64 int64_t;\r
+typedef UINT8 uint8_t;\r
+typedef UINT16 uint16_t;\r
+typedef UINT32 uint32_t;\r
+typedef UINT64 uint64_t;\r
+typedef UINTN size_t;\r
+\r
+VOID *\r
+BrDummyMalloc (\r
+ IN size_t Size\r
+ );\r
+\r
+VOID\r
+BrDummyFree (\r
+ IN VOID * Ptr\r
+ );\r
+\r
+#endif\r