mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-18 09:06:06 +00:00
Now doesn't want introduce the PCI module since PCI CFG access should be arch special. Tracked-On: #8805 Signed-off-by: Fei Li <fei1.li@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
33 lines
538 B
C
33 lines
538 B
C
/*
|
|
* Copyright (C) 2023-2025 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef RISCV_VM_C_
|
|
#define RISCV_VM_C_
|
|
|
|
|
|
#include <asm/guest/vm.h>
|
|
|
|
/* FIXME */
|
|
struct acrn_vm *get_vm_from_vmid(__unused uint16_t vm_id)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
bool is_paused_vm(__unused const struct acrn_vm *vm)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool is_poweroff_vm(__unused const struct acrn_vm *vm)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
void arch_trigger_level_intr(__unused struct acrn_vm *vm,
|
|
__unused uint32_t irq, __unused bool assert) {}
|
|
|
|
#endif /* RISCV_VM_C_ */
|