This commit is contained in:
Quentin Legot 2023-04-05 16:57:04 +02:00
parent ffd9b92f24
commit 01ac29160b

View File

@ -208,7 +208,7 @@ mod test {
fn test_thread_context() { fn test_thread_context() {
let mut machine = Machine::default(); let mut machine = Machine::default();
let (loader, ptr) = loader::Loader::new("./test/riscv_instructions/syscall_tests/halt", &mut machine, 0).expect("IO Error"); let (loader, ptr) = loader::Loader::new("./test/syscall_tests/halt", &mut machine, 0).expect("IO Error");
let start_pc = loader.elf_header.entrypoint; let start_pc = loader.elf_header.entrypoint;
let system = &mut System::default(); let system = &mut System::default();