diff --git a/thousand-line-os/Cargo.lock b/thousand-line-os/Cargo.lock new file mode 100644 index 0000000..0e9e63c --- /dev/null +++ b/thousand-line-os/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "thousand-line-os" +version = "0.1.0" diff --git a/thousand-line-os/Cargo.toml b/thousand-line-os/Cargo.toml new file mode 100644 index 0000000..6be5978 --- /dev/null +++ b/thousand-line-os/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "thousand-line-os" +version = "0.1.0" +edition = "2021" + +[dependencies] diff --git a/thousand-line-os/src/lib.rs b/thousand-line-os/src/lib.rs new file mode 100644 index 0000000..f766ec5 --- /dev/null +++ b/thousand-line-os/src/lib.rs @@ -0,0 +1,14 @@ +#![no_std] +#![no_main] + +#[no_mangle] +pub extern "C" fn _start() -> ! { + init() +} + +fn init() -> ! { + loop { + + } +} +