build tool stuff
This commit is contained in:
parent
ae43d587f7
commit
79c8e12671
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -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",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "gila"
|
name = "gila"
|
||||||
version = "0.1.1"
|
version = "0.2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
@ -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.
|
||||||
|
@ -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/
|
||||||
|
5
iso/limine.conf
Normal file
5
iso/limine.conf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
timeout: 5
|
||||||
|
|
||||||
|
/Gila
|
||||||
|
protocol: limine
|
||||||
|
kernel_path: boot():/gila
|
BIN
iso/limine/limine-bios-cd.bin
Normal file
BIN
iso/limine/limine-bios-cd.bin
Normal file
Binary file not shown.
BIN
iso/limine/limine-bios.sys
Normal file
BIN
iso/limine/limine-bios.sys
Normal file
Binary file not shown.
BIN
iso/limine/limine-uefi-cd.bin
Normal file
BIN
iso/limine/limine-uefi-cd.bin
Normal file
Binary file not shown.
2
rust-toolchain.toml
Normal file
2
rust-toolchain.toml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[toolchain]
|
||||||
|
channel = "nightly"
|
Loading…
Reference in New Issue
Block a user