Yin Fengwei
446297f96d
DM: sw_load: sw_load function name update
...
To align with file name, acrn_sw_load_direct() is changed
to acrn_sw_load_bzimage().
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2018-05-15 17:19:38 +08:00
Yin Fengwei
6ee72d7df9
DM: split sw_load.c to sw_load.c and sw_load_direct.c
...
The common loader code is put to sw_load_common.c
The loader code for directly kernel loading is put to sw_load_bzimage.c
The further change for SBL will be put to sw_load_sbl.c
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
2018-05-15 17:19:38 +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
Yin Fengwei
3775f29e3c
vm: Pass uuid from DM commandline to vm as GUID.
...
Also save the uuid to ctx in case DM needs to access the
uuid.
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
2018-05-15 17:19:36 +08:00
Yin Fengwei
f86d91e1e1
dm: use getopt_long instead of getopt to parse dm cmdline
...
It will be easier if we want to add more command line options
with long options.
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
2018-05-15 17:19:36 +08:00
Jason Chen CJ
e404760cd2
add RC_VERSION for dm
...
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
2018-05-11 14:44:29 +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