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
a7d69b6aaf
MdeModulePkg/EbcDebugger: Add check for Entry and RetEntry
...
Entry and RetEntry might be NULL before used.
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: Hao A Wu <hao.a.wu@intel.com >
2019-11-06 13:26:27 +08: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
789b86acfb
MdeModulePkg/EbcDxe: Make variable name follow rules
...
For variable name, it should contain lower case characters.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
2016-12-20 10:51:19 +08:00
f42f22f5dd
MdeModulePkg/EbcDxe: Fix incorrect Copyright format
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
2016-12-09 10:38:36 +08:00
8fd543c77a
MdeModulePkg/EbcDxe: Initialize variable after declaration
...
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Pete Batard <pete@akeo.ie >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
Reviewed-by: Jiewen.yao@intel.com
2016-12-06 18:40:14 +08:00
e8a5ac7c49
MdeModulePkg/EbcDxe: Make the comments align with EDKII coding style
...
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Pete Batard <pete@akeo.ie >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
Reviewed-by: Jiewen.yao@intel.com
2016-12-06 18:40:13 +08:00
8ae1714047
MdeModulePkg: Fix GCC build failure
...
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Pete Batard <pete@akeo.ie >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
Reviewed-by: Jiewen.yao@intel.com
2016-11-29 09:42:54 +08:00
eebfb7b2a5
MdeModulePkg/EbcDebugger: Add ASSERT to ensure FieldBuffer is not NULL
...
In function EdbLoadCodBySymbolByIec(), AsciiStrGetNewTokenField() at line
1589 will return NULL if the first character in 'LineBuffer' is '\0'. But
the previous if statement at line 1576 ensures the above case will not
happen.
This commit adds ASSERT as warnings for the case that will not happen.
Cc: Jiewen Yao <jiewen.yao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
2016-11-25 13:34:24 +08:00
748edcd5eb
MdeModulePkg/EbcDxe: add EBC Debugger
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Pete Batard <pete@akeo.ie >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
2016-11-23 10:20:26 +08:00