acrn-hypervisor/hypervisor/bsp/uefi/platform_acpi_info.c
Junjie Mao 112b5b820c 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>
2018-07-23 10:23:49 +08:00

27 lines
709 B
C

/*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/* This is a template for uninitialized host_acpi_info,
* we should use a user space tool running on target to generate this file.
*/
#include <hypervisor.h>
const struct acpi_info host_acpi_info = {
0, /* x86 family */
0, /* x86 model */
{
{SPACE_SYSTEM_IO, 0, 0, 0, 0}, /* PM1a EVT */
{SPACE_SYSTEM_IO, 0, 0, 0, 0}, /* PM1b EVT */
{SPACE_SYSTEM_IO, 0, 0, 0, 0}, /* PM1a CNT */
{SPACE_SYSTEM_IO, 0, 0, 0, 0}, /* PM1b CNT */
{0, 0, 0}, /* _S3 Package */
{0, 0, 0}, /* _S5 Package */
(uint32_t *)0, /* Wake Vector 32 */
(uint64_t *)0 /* Wake Vector 64 */
}
};