VirtualBox

Ignore:
Timestamp:
Aug 12, 2020 4:09:12 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139865
Message:

Devices/EFI: Merge edk-stable202005 and make it build, bugref:4643

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
6 added
9 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew

  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliCustomDecompressLib.inf

    r80721 r85718  
    55#  Brotli was released on the website https://github.com/google/brotli.
    66#
    7 #  Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
     7#  Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.<BR>
    88#
    99#  SPDX-License-Identifier: BSD-2-Clause-Patent
     
    3030[Sources]
    3131  GuidedSectionExtraction.c
     32  BrotliDecUefiSupport.c
     33  BrotliDecUefiSupport.h
    3234  BrotliDecompress.c
    3335  BrotliDecompressLibInternal.h
    34   common/dictionary.c
    35   common/transform.c
    36   dec/bit_reader.c
    37   dec/decode.c
    38   dec/huffman.c
    39   dec/state.c
    40   brotli/decode.h
    41   brotli/port.h
    42   brotli/types.h
    43   common/constants.h
    44   common/context.h
    45   common/dictionary.h
    46   common/platform.h
    47   common/transform.h
    48   common/version.h
    49   dec/bit_reader.h
    50   dec/huffman.h
    51   dec/state.h
    52   dec/prefix.h
     36  # Wrapper header files start #
     37  stddef.h
     38  stdint.h
     39  stdlib.h
     40  string.h
     41  # Wrapper header files end #
     42  brotli/c/common/dictionary.c
     43  brotli/c/common/transform.c
     44  brotli/c/dec/bit_reader.c
     45  brotli/c/dec/decode.c
     46  brotli/c/dec/huffman.c
     47  brotli/c/dec/state.c
     48  brotli/c/include/brotli/decode.h
     49  brotli/c/include/brotli/port.h
     50  brotli/c/include/brotli/types.h
     51  brotli/c/common/constants.h
     52  brotli/c/common/context.h
     53  brotli/c/common/dictionary.h
     54  brotli/c/common/platform.h
     55  brotli/c/common/transform.h
     56  brotli/c/common/version.h
     57  brotli/c/dec/bit_reader.h
     58  brotli/c/dec/huffman.h
     59  brotli/c/dec/state.h
     60  brotli/c/dec/prefix.h
    5361
    5462[Packages]
  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompressLibInternal.h

    r80721 r85718  
    44  Allows BROTLI code to build under UEFI (edk2) build environment
    55
    6   Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>
     6  Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.<BR>
    77  SPDX-License-Identifier: BSD-2-Clause-Patent
    88
     
    1313
    1414#include <PiPei.h>
    15 #include <Library/BaseLib.h>
    16 #include <Library/BaseMemoryLib.h>
    17 #include <Library/DebugLib.h>
    1815#include <Library/ExtractGuidedSectionLib.h>
    19 #include <brotli/types.h>
    20 #include <brotli/decode.h>
     16#include <brotli/c/include/brotli/types.h>
     17#include <brotli/c/include/brotli/decode.h>
    2118
    2219typedef struct
     
    3027#define BROTLI_DECODE_MAX    8
    3128#define BROTLI_SCRATCH_MAX   16
    32 
    33 #define memcpy                      CopyMem
    34 #define memmove                     CopyMem
    35 #define memset(dest,ch,count)       SetMem(dest,(UINTN)(count),(UINT8)(ch))
    36 
    37 VOID *
    38 BrDummyMalloc (
    39   IN size_t   Size
    40   );
    41 
    42 VOID
    43 BrDummyFree (
    44   IN VOID *   Ptr
    45   );
    4629
    4730EFI_STATUS
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette