mirror_edk2/BaseTools/Source/Python
Jiewen Yao 4247c24fba BaseTool/GenC: Fix build error when type is BASE or USER_DEFINED.
https://bugzilla.tianocore.org/show_bug.cgi?id=1544

1) The GenC tool does not include the constructor/destructor for
USER_DEFINED module. It should be included.
Only constructor/destructor with BASE type is included here.
The constructor/destructor with PEI/DXE/SMM type is still excluded
to keep original behavior.

2) The GenC tool includes the UnloadImage code for BASE module.
It should NOT be included.

3) The GenC tool uses EFI_STATUS and ASSERT_EFI_ERROR for BASE type.
It should use RETURN_STATUS and ASSERT_RETURN_ERROR.

4) The GenC tool miss DebugLib.h for BASE or USER_DEFINED module
AutoGen.c. Only Base.h is there. It should add Library/DebugLib.h.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2019-02-22 12:20:36 +08:00
..
AutoGen BaseTool/GenC: Fix build error when type is BASE or USER_DEFINED. 2019-02-22 12:20:36 +08:00
BPDG BaseTools: Handle the bytes and str difference 2019-02-01 11:09:24 +08:00
build BaseTools:PCD value error in structure pcd sku case. 2019-02-20 13:16:58 +08:00
Capsule BaseTools/Capsule: Support capsules without a payload header 2018-08-02 14:35:29 -07:00
Common BaseTools:PCD value error in structure pcd sku case. 2019-02-20 13:16:58 +08:00
CommonDataClass BaseTools: Various typo 2019-02-14 10:02:28 +08:00
Ecc BaseTools:Fix a ECC issue 2019-02-19 20:32:42 +08:00
Eot BaseTools: Fixed a build report issue. 2019-02-18 09:11:47 +08:00
GenFds BaseTools: Various typo 2019-02-14 10:02:28 +08:00
GenPatchPcdTable Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
PatchPcdValue BaseTools: change the Division Operator 2019-02-01 11:09:21 +08:00
Pkcs7Sign BaseTools: Handle the bytes and str difference 2019-02-01 11:09:24 +08:00
Rsa2048Sha256Sign BaseTools: Various typo 2019-02-14 10:02:28 +08:00
Table BaseTools: Various typo 2019-02-14 10:02:28 +08:00
TargetTool BaseTools: Various typo 2019-02-14 10:02:28 +08:00
Trim BaseTools: Various typo 2019-02-14 10:02:28 +08:00
UPT BaseTools: replace Sdict with OrderedDict in UPT 2019-02-20 13:16:56 +08:00
Workspace BaseTools:PCD value error in structure pcd sku case. 2019-02-20 13:16:58 +08:00
GNUmakefile Sync BaseTool trunk (version r2599) into EDKII BaseTools. 2013-08-23 02:18:16 +00:00
Makefile BaseTools: Remove the step to freeze python tool 2018-10-19 08:21:47 +08:00
sitecustomize.py BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00