BurritOS/src/main.rs

24 lines
636 B
Rust
Raw Normal View History

#![warn(missing_docs)]
#![warn(clippy::missing_docs_in_private_items)]
//! Crate burritos ((BurritOS Using Rust Really Improves The Operating System)
//!
//! Burritos is an educational operating system written in Rust
//! running on RISC-V emulator.
/// Contain hardware simulated part of the machine
2023-01-11 14:58:12 +01:00
mod simulator;
2023-02-15 14:56:11 +01:00
mod kernel;
/// module containing useful tools which can be use in most part of the OS to ease the development of the OS
2023-02-15 18:10:08 +01:00
pub mod utility;
2023-01-11 14:58:12 +01:00
2023-03-08 21:10:51 +01:00
use kernel::system::System;
2023-01-11 14:58:12 +01:00
use simulator::machine::Machine;
2022-10-19 16:39:38 +02:00
2022-10-05 16:30:21 +02:00
fn main() {
2023-03-27 11:35:04 +02:00
let mut machine = Machine::init_machine();
2023-03-22 15:48:29 +01:00
let system = System::default();
2023-03-27 11:35:04 +02:00
machine.run()
2022-10-05 16:30:21 +02:00
}