Yin Fengwei
c8585a22e3
DM: add deinit function for bvmcons
...
Move the bvmcons enable flag from main.c to consport.c.
So we don't need the flag in main.c for bvmcons.
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2018-05-15 17:25:55 +08:00
Yonghua Huang
b6d73be1a6
Enable FORTIFY and FORMAT SECURITY compile flags
...
1. Enable below 2 defenses in Makefile
"-O2 -D_FORTIFY_SOURCE=2"
"-Wformat -Wformat-security"
2. Update related source code impacted by above 2 flags
Change-Id: Ib42214848f030b4cf508cd7c52a7e3cc809435d9
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
2018-05-15 17:19:37 +08:00
Anthony Xu
bd31b1c53e
initial import
...
internal commit: 0ab1ea615e5cfbb0687a9d593a86a7b774386076
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
2018-05-11 14:44:28 +08:00