1193aa2dfb
MdeModulePkg: update brotli submodule
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3417
Update the brotli submodule to the latest commit (f4153a0)
so that the build isn't broken in GCC 11 compilers.
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Cc: Dandan Bi <dandan.bi@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Pedro Falcato <pedro.falcato@gmail.com >
Signed-off-by: Bob Feng <bob.c.feng@intel.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
2022-02-15 02:13:32 +00:00
1436aea4d5
MdeModulePkg: Apply uncrustify changes
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737
Apply uncrustify changes to .c/.h files in the MdeModulePkg package
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
2021-12-07 17:24:28 +00:00
e3917e22e7
MdeModulePkg: Change OPTIONAL keyword usage style
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3760
Update all use of ', OPTIONAL' to ' OPTIONAL,' for function params.
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael Kubacki <michael.kubacki@microsoft.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
2021-12-07 17:24:28 +00:00
67e0e4caa5
MdeModulePkg BrotliCustomDecompressLib: Remove the duplicated functions
...
The same functions have been defined in BrotliDecUefiSupport.c.
Signed-off-by: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Hao A Wu <hao.a.wu@intel.com >
Cc: Dandan Bi <dandan.bi@intel.com >
Reviewed-by: Hao A Wu <hao.a.wu@intel.com >
2021-01-06 07:15:09 +00:00
58802e02c4
MdeModulePkg/BrotliCustomDecompressLib: Make brotli a submodule
...
Use submodule way to access brotli in MdeModulePkg based on
brotli version 666c3280cc11dc433c303d79a83d4ffbdd12cc8d.
The newly added BrotliDecUefiSupport.h/.c are used by directory
'brotli'.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2559
Cc: Liming Gao <liming.gao@intel.com >
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2020-04-16 01:58:38 +00:00
9639c1f3e7
MdeModulePkg: Unify the definitions of size_t
...
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2338
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2019-11-15 02:06:12 +00:00
9d510e61fc
MdeModulePkg: Replace BSD License with BSD+Patent License
...
https://bugzilla.tianocore.org/show_bug.cgi?id=1373
Replace BSD 2-Clause License with BSD+Patent License. This change is
based on the following emails:
https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html
RFCs with detailed process for the license change:
V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Jian J Wang <jian.j.wang@intel.com >
2019-04-09 10:58:08 -07:00
1c3399d73d
MdeModulePkg BrotliDecompressLib: Add the checker to avoid array out of bound
...
This change is to pass static analysis.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2018-10-19 08:21:47 +08:00
2730470f9d
MdeModulePkg: Update Brotli DecompressLib to the latest v1.0.6
...
https://bugzilla.tianocore.org/show_bug.cgi?id=1201
Update Brotli to the latest version 1.0.6
https://github.com/google/brotli
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2018-10-09 22:28:16 +08:00
792ace0ac3
MdeModulePkg BrotliLib: Rename function with the specific lib name
...
This change is to avoid the function conflict.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2018-03-16 14:34:43 +08:00
f826516d43
MdeModulePkg: Fix MSFT C4255 warning
...
V2:
Fix MSFT C4255 warning
V1:
Enable MSFT C4255 warning.
From MSDN:
Compiler Warning (level 4) C4255
function' : no function prototype given: converting '()' to '(void)'
The compiler did not find an explicit list of arguments to a function.
This warning is for the C compiler only.
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bell Song <binx.song@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2017-11-14 18:18:43 +08:00
2c8d2545f5
MdeModulePkg BrotliLib: Fix the regression logic issue in loop
...
In V2, change logic to avoid use mtf[-1] style to get value.
Roll back to previous logic, and use point + offset to get byte value.
Cc: Bell Song <binx.song@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Bell Song <binx.song@intel.com >
2017-04-14 10:28:59 +08:00
36a0d5cab8
MdeModulePkg: Fix BrotliCustomDecompressLib potential issue
...
- Fix BrotliCustomDecompressLib potential issue
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bell Song <binx.song@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2017-04-12 14:37:58 +08:00
841b259062
MdeModulePkg: Add Brotli algorithm decompression library
...
- Add Brotli algorithm decompression library support
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bell Song <binx.song@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2017-03-29 12:14:41 +08:00
36ff6d8019
MdeModulePkg: Copy Brotli algorithm 3rd party source code for library
...
- Copy Brotli algorithm 3rd party source code for library
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bell Song <binx.song@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2017-03-29 12:14:40 +08:00