]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecUefiSupport.c
MdeModulePkg/BrotliCustomDecompressLib: Make brotli a submodule
[mirror_edk2.git] / MdeModulePkg / Library / BrotliCustomDecompressLib / BrotliDecUefiSupport.c
diff --git a/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecUefiSupport.c b/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecUefiSupport.c
new file mode 100644 (file)
index 0000000..1021465
--- /dev/null
@@ -0,0 +1,31 @@
+/** @file\r
+  Implements for functions declared in BrotliDecUefiSupport.h\r
+\r
+  Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+#include <BrotliDecUefiSupport.h>\r
+\r
+/**\r
+  Dummy malloc function for compiler.\r
+**/\r
+VOID *\r
+BrDummyMalloc (\r
+  IN size_t    Size\r
+  )\r
+{\r
+  ASSERT (FALSE);\r
+  return NULL;\r
+}\r
+\r
+/**\r
+  Dummy free function for compiler.\r
+**/\r
+VOID\r
+BrDummyFree (\r
+  IN VOID *    Ptr\r
+  )\r
+{\r
+  ASSERT (FALSE);\r
+}\r