Improve test in thread_manager, increase memory size to make it fit

This commit is contained in:
Quentin Legot
2023-04-04 22:01:49 +02:00
parent a001e45c3f
commit 0fd2815a59
4 changed files with 20 additions and 13 deletions

View File

@ -75,7 +75,7 @@ pub const NUM_PHY_PAGE : u64 = 400;
/// Must be 2^x
pub const PAGE_SIZE : u64 = 128;
/// Must be a multiple of PAGE_SIZE
pub const MEM_SIZE : usize = (PAGE_SIZE*NUM_PHY_PAGE*100) as usize;
pub const MEM_SIZE : usize = (PAGE_SIZE*NUM_PHY_PAGE*100_000) as usize;
/// RISC-V Simulator
pub struct Machine {