Renamed Machine::init_machine and fixed stack overflow by allocating main_memory to the heap

This commit is contained in:
François Autin
2023-03-11 23:49:20 +01:00
parent 1f54ed35db
commit 177abfe846
4 changed files with 45 additions and 43 deletions

View File

@ -6,6 +6,6 @@ use kernel::system::System;
use simulator::machine::Machine;
fn main() {
let machine = Machine::_init_machine();
let machine = Machine::init_machine();
let _system = System::new(machine);
}