remove machine from system

This commit is contained in:
Quentin Legot
2023-03-22 15:48:29 +01:00
parent 6571838263
commit 1b44949842
3 changed files with 15 additions and 60 deletions

View File

@ -13,12 +13,10 @@ mod kernel;
/// module containing useful tools which can be use in most part of the OS to ease the development of the OS
pub mod utility;
use std::{rc::Rc, cell::RefCell};
use kernel::system::System;
use simulator::machine::Machine;
fn main() {
let machine = Machine::init_machine();
let system = Rc::new(RefCell::new(System::new(machine)));
let system = System::default();
}