HV: guest: cleanup of remaining integral type violations

Clean up most reported integral-type-related violations still existing under
arch/x86/guest/. The remaining reports that are not trivial to suppress will be
explained in separate documents.

Also move acpi_info outside acrn_common.h as the structure is no longer shared
with DM.

v1 -> v2:

    * Move struct acpi_info to bsp_extern.h

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Junjie Mao
2018-07-20 18:14:52 +08:00
committed by lijinxia
parent 1a1ee93656
commit 112b5b820c
7 changed files with 18 additions and 17 deletions

View File

@@ -340,13 +340,6 @@ struct pm_s_state_data {
uint64_t *wake_vector_64;
}__attribute__((aligned(8)));
struct acpi_info {
int16_t x86_family;
int16_t x86_model;
struct pm_s_state_data pm_s_state;
/* TODO: we can add more acpi info field here if needed. */
};
/**
* @brief Info PM command from DM/VHM.
*