mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-21 22:54:51 +00:00
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>
27 lines
709 B
C
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 */
|
|
}
|
|
};
|