Zide Chen
8f16faab04
HV: further cleanup of header inclusions
...
According to the comments in hypervisor:
" This file includes config header file "bsp_cfg.h" and other
hypervisor used header files.
It should be included in all the source files."
this patch includes all common header files in hypervisor.h
then removes other redundant inclusions
Signed-off-by: Zide Chen <zide.chen@intel.com>
2018-05-25 10:45:56 +08:00
Zide Chen
d594878e31
HV: cleanup for header inclusions.
...
used https://gitlab.com/esr/deheader to detect and remove unnecessary
header file inclusions
Signed-off-by: Zide Chen <zide.chen@intel.com>
2018-05-25 10:45:56 +08:00
Yin Fengwei
6ef48fa30e
hv: Add reboot shell command
...
To trigger warm reboot for debugging.
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <Eddie.dong@intel.com>
2018-05-18 16:38:40 +08:00
Yin Fengwei
03a3fb0d2a
hv: cleanup the shell cmd code.
...
Remove cmd register API. And use static pre-defined cmd array
instead.
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <Eddie.dong@intel.com>
2018-05-18 10:53:34 +08:00
Yonghua Huang
85716e8b01
security: fix issues reported by Klocwork
...
- NULL pointer reference risk
- buffer overflow risk
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
2018-05-15 17:25:57 +08:00
Li, Fei1
ace23b5088
hv: shell: add cpuid command
...
Add cpuid shell command for test
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
2018-05-15 17:25:24 +08:00
Eddie Dong
7a3a539b17
initial import
...
internal commit: 14ac2bc2299032fa6714d1fefa7cf0987b3e3085
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
2018-05-11 14:44:28 +08:00