hypervisor: arch: Integrate riscv64 to arch module
Integrate `aia` module into `riscv64` module, and enable `riscv64` module if target architecture is RISC-V 64-bit. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
This commit is contained in:
parent
2752149bb0
commit
dd00bd6ef2
2 changed files with 8 additions and 0 deletions
|
|
@ -21,3 +21,6 @@ pub mod x86;
|
|||
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
pub mod aarch64;
|
||||
|
||||
#[cfg(target_arch = "riscv64")]
|
||||
pub mod riscv64;
|
||||
|
|
|
|||
5
hypervisor/src/arch/riscv64/mod.rs
Normal file
5
hypervisor/src/arch/riscv64/mod.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// Copyright © 2024 Institute of Software, CAS. All rights reserved.
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
pub mod aia;
|
||||
Loading…
Add table
Add a link
Reference in a new issue