2023-01-11 14:58:12 +01:00
|
|
|
mod simulator;
|
2023-02-15 14:56:11 +01:00
|
|
|
mod kernel;
|
2023-02-15 18:10:08 +01:00
|
|
|
pub mod utility;
|
2023-01-11 14:58:12 +01:00
|
|
|
|
2023-03-08 15:38:19 +01:00
|
|
|
use kernel::{
|
|
|
|
scheduler::Scheduler,
|
|
|
|
system::System
|
|
|
|
};
|
2023-01-11 14:58:12 +01:00
|
|
|
use simulator::machine::Machine;
|
2023-03-01 16:12:46 +01:00
|
|
|
use simulator::mem_cmp;
|
2022-10-19 16:39:38 +02:00
|
|
|
|
2022-10-05 16:30:21 +02:00
|
|
|
fn main() {
|
2023-03-08 15:38:19 +01:00
|
|
|
let machine = Machine::_init_machine();
|
|
|
|
let scheduler = Scheduler::new();
|
|
|
|
let system = System::new(machine, scheduler);
|
2022-10-05 16:30:21 +02:00
|
|
|
}
|