mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-14 02:00:27 +00:00
vUART will not enable before VM could be created. Tracked-On: #8805 Signed-off-by: Fei Li <fei1.li@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
31 lines
525 B
C
31 lines
525 B
C
/*
|
|
* Copyright (C) 2023-2025 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef RISCV_VM_H_
|
|
#define RISCV_VM_H_
|
|
|
|
|
|
#include <vm_configurations.h>
|
|
#include <vuart.h>
|
|
#include <asm/guest/vcpu.h>
|
|
|
|
|
|
#define INVALID_PIO_IDX -1U
|
|
#define UART_PIO_IDX0 INVALID_PIO_IDX
|
|
|
|
struct acrn_vm {
|
|
struct acrn_vuart vuart[MAX_VUART_NUM_PER_VM]; /* Virtual UART */
|
|
};
|
|
|
|
/* FIXME: riscv dummy function */
|
|
static inline bool need_shutdown_vm(uint16_t pcpu_id)
|
|
{
|
|
(void)pcpu_id;
|
|
return false;
|
|
}
|
|
|
|
#endif /* RISCV_VM_H_ */
|