https://github.com/bsamseth/bsos
A bullshit operating system based on this blog series: https://os.phil-opp.com
https://github.com/bsamseth/bsos
Last synced: 4 months ago
JSON representation
A bullshit operating system based on this blog series: https://os.phil-opp.com
- Host: GitHub
- URL: https://github.com/bsamseth/bsos
- Owner: bsamseth
- Created: 2024-12-22T09:32:19.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-26T14:03:00.000Z (6 months ago)
- Last Synced: 2024-12-26T14:28:06.595Z (6 months ago)
- Language: Rust
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Requirements
`rustup` and `cargo`, followed by `cargo install bootimage`.
To run the kernel in QEMU (install `qemu-system` on Debian-based systems), just do `cargo run`.
(Manually with `qemu-system-x86_64 -drive format=raw,file=target/x86_64-unknown-bsos/debug/bootimage-bsos.bin`)
## Nightly Rust
This requires nightly Rust as of the time of writing. This is in part due to some unstable `.cargo/config.toml` options that are essential.
```toml
# .cargo/config.toml
[unstable]
build-std = ["core", "compiler_builtins"]
build-std-features = ["compiler-builtins-mem"]
```Additionally, these features are used:
```rust
#![feature(custom_test_frameworks)]
#![feature(abi_x86_interrupt)]
```There's no real timeline for some of these, so this will probably require nightly for as long as this project lives.