2023-03-13 14:51:32 +01:00
|
|
|
|
|
|
|
#![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;
|
2023-03-13 14:51:32 +01:00
|
|
|
/// 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-11 23:49:20 +01:00
|
|
|
let machine = Machine::init_machine();
|
2023-03-22 15:48:29 +01:00
|
|
|
let system = System::default();
|
2022-10-05 16:30:21 +02:00
|
|
|
}
|