cleanup dependencies in loader for vexii on cram-soc

This commit is contained in:
bunnie 2025-07-24 00:29:42 +08:00
parent 9c7ed885f9
commit 7db16f6cf8
2 changed files with 2 additions and 2 deletions

View file

@ -167,7 +167,7 @@ pub unsafe extern "C" fn rust_entry(signed_buffer: *const usize, signature: u32)
loop {}
};
#[cfg(feature = "vexii-test")]
#[cfg(all(feature = "vexii-test", not(feature = "verilator-only")))]
{
// fake the prehash
use ed25519_dalek_loader::Digest;

View file

@ -339,7 +339,7 @@ pub fn phase_2(cfg: &mut BootConfig, fs_prehash: &[u8; 64]) {
1, // Kernel is PID 1
);
}
#[cfg(feature = "debug-print")]
#[cfg(all(feature = "debug-print", not(feature = "verilator-only")))]
// print the kernel's page table mappings as a sanity check on the loader
debug::print_pagetable(cfg.processes[0].satp);