build tool stuff

This commit is contained in:
River 2025-02-10 14:22:53 -05:00
parent ae43d587f7
commit 79c8e12671
Signed by: shibedrill
GPG Key ID: 5FE0CB25945EFAA2
12 changed files with 14 additions and 5 deletions

2
Cargo.lock generated
View File

@ -55,7 +55,7 @@ checksum = "875488b8711a968268c7cf5d139578713097ca4635a76044e8fe8eedf831d07e"
[[package]] [[package]]
name = "gila" name = "gila"
version = "0.1.1" version = "0.2.0"
dependencies = [ dependencies = [
"flagset", "flagset",
"lazy_static", "lazy_static",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "gila" name = "gila"
version = "0.1.1" version = "0.2.0"
edition = "2024" edition = "2024"
[dependencies] [dependencies]

View File

@ -1,5 +1,5 @@
# Gila v0.1.1 - a Rust Microkernel # Gila v0.2.0 - a Rust Microkernel
Gila is a Rust microkernel OS, inspired by the Xinu embedded OS. It will Gila is a Rust microkernel OS, inspired by the Xinu embedded OS. It will
hopefully be capable of multitasking some day. I do not intend for Gila to hopefully be capable of multitasking some day. I do not intend for Gila to
@ -33,7 +33,7 @@ To build an ISO image that you can boot, there are several prerequisites:
Then run the [build_iso.sh](build_iso.sh) script. It will generate `gila.iso`. Then run the [build_iso.sh](build_iso.sh) script. It will generate `gila.iso`.
Running the kernel requires qemu. Running the kernel requires `qemu-system-{ARCH}`.
You can install all these dependencies automatically by using `nix-shell` and You can install all these dependencies automatically by using `nix-shell` and
supplying [shell.nix](shell.nix) as an argument. supplying [shell.nix](shell.nix) as an argument.

View File

@ -12,6 +12,8 @@ rm -rf ./iso/
rm ./gila.iso rm ./gila.iso
#cargo clean #cargo clean
set -euxo pipefail
mkdir -p ./iso/limine/ mkdir -p ./iso/limine/
cp ./limine.conf ./iso/ cp ./limine.conf ./iso/
cp /usr/share/limine/limine-bios.sys ./iso/limine/ cp /usr/share/limine/limine-bios.sys ./iso/limine/

BIN
gila.iso Normal file

Binary file not shown.

BIN
iso/gila Executable file

Binary file not shown.

5
iso/limine.conf Normal file
View File

@ -0,0 +1,5 @@
timeout: 5
/Gila
protocol: limine
kernel_path: boot():/gila

Binary file not shown.

BIN
iso/limine/limine-bios.sys Normal file

Binary file not shown.

Binary file not shown.

2
rust-toolchain.toml Normal file
View File

@ -0,0 +1,2 @@
[toolchain]
channel = "nightly"

View File

@ -20,7 +20,7 @@ pkgs.mkShell {
]; ];
shellHook = '' shellHook = ''
rustup default stable; rustup default nightly;
rustup target add x86_64-unknown-none rustup target add x86_64-unknown-none
''; '';