acrn-hypervisor/hypervisor/include
Junjie Mao d0c61ce424 HV: trace: integral type cleanup
In the current trace.h, the entries use proper unsigned types while some
function prototypes and local variables still use plain 'int', resulting in
implicit signedness conversions.

This patch makes the following conversions:

    * evid: int -> uint32_t,
    * n_data & cpu: 8-bit bit-field -> uint8_t,
    * local variable holding the value from strnlen_s(): int -> size_t.

Note: In the following definition:

    struct trace_entry {
        uint64_t tsc; /* TSC */
        uint64_t id:48;
	....

The type of bit-field ''id'' cannot be uint32_t since gcc complains about
bit-fields larger than the type. Thus this patch keeps it as is.

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-07-10 13:10:10 +08:00
..
arch/x86 HV:modified vm_description and vm_hw_info memebers' type 2018-07-10 12:42:22 +08:00
common Documentation: add pictures to Trusty documentation 2018-07-05 00:06:51 -07:00
debug HV: trace: integral type cleanup 2018-07-10 13:10:10 +08:00
lib hv: Add 32bit bitmap bit ops API 2018-07-05 10:01:15 +08:00
public HV:treewide: Clean up -1U or -1UL 2018-07-10 10:27:33 +08:00
hv_debug.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hv_lib.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hypervisor.h hv: refine the address used in sbl multiboot code 2018-06-22 16:12:24 +08:00