mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-04 13:19:47 +00:00
Replace platform_acpi_info.c with platform_acpi_info.h and define needed host ACPI info in MACROs. Then the struct host_acpi_info is not needed any more. This header file should be generated by offline tool automatically; Tracked-On: #1500 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
43 lines
916 B
C
43 lines
916 B
C
/*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
/************************************************************************
|
|
*
|
|
* FILE NAME
|
|
*
|
|
* bsp_extern.h
|
|
*
|
|
* DESCRIPTION
|
|
*
|
|
* This file defines the generic BSP interface
|
|
*
|
|
************************************************************************/
|
|
#ifndef BSP_EXTERN_H
|
|
#define BSP_EXTERN_H
|
|
|
|
#include "platform_acpi_info.h"
|
|
|
|
#define UOS_DEFAULT_START_ADDR (0x100000000UL)
|
|
|
|
struct acpi_info {
|
|
uint8_t x86_family;
|
|
uint8_t x86_model;
|
|
struct pm_s_state_data pm_s_state;
|
|
/* TODO: we can add more acpi info field here if needed. */
|
|
};
|
|
|
|
/**********************************/
|
|
/* EXTERNAL VARIABLES */
|
|
/**********************************/
|
|
/* BSP Interfaces */
|
|
void init_bsp(void);
|
|
|
|
#ifndef CONFIG_CONSTANT_ACPI
|
|
void acpi_fixup(void);
|
|
#endif
|
|
|
|
#endif /* BSP_EXTERN_H */
|