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:
Ruoqing He 2024-11-06 11:34:44 +08:00 committed by Rob Bradford
parent 2752149bb0
commit dd00bd6ef2
2 changed files with 8 additions and 0 deletions

View File

@ -21,3 +21,6 @@ pub mod x86;
#[cfg(target_arch = "aarch64")]
pub mod aarch64;
#[cfg(target_arch = "riscv64")]
pub mod riscv64;

View File

@ -0,0 +1,5 @@
// Copyright © 2024 Institute of Software, CAS. All rights reserved.
//
// SPDX-License-Identifier: Apache-2.0
pub mod aia;