yechunliang
b11460f7f6
replace malloc and memset with calloc
...
malloc: allocate a block of memory, the contents of the block are undefined.
calloc: allocate a block of memory for an array of num elements and initializes all its bits to zero.
Signed-off-by: yechunliang <yechunliangcn@163.com>
2018-05-15 17:25:24 +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
Qi Yadong
8d67f292ef
Rename TIME_MS_DELTA to CYCLES_PER_MS
...
TIME_MS_DELTA is not clear enough, rename it to CYCLES_PER_MS.
Signed-off-by: Qi Yadong <yadong.qi@intel.com>
2018-05-15 17:19:39 +08:00
Li, Fei1
36148041bc
Move s[n]printf to lib for release
...
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
2018-05-15 17:19:37 +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