Add RISC-V base support

This commit is contained in:
YanWQ-monad
2024-09-24 22:14:30 +08:00
committed by Tate, Hongliang Tian
parent 839c2a6689
commit 4fa0e6334b
46 changed files with 2436 additions and 12 deletions

View File

@ -76,7 +76,7 @@ pub unsafe fn init() {
arch::serial::init();
#[cfg(feature = "cvm_guest")]
arch::check_tdx_init();
arch::init_cvm_guest();
// SAFETY: This function is called only once and only on the BSP.
unsafe { cpu::local::early_init_bsp_local_base() };