92371b4 Enable clang-tidy for known-cpp headers
~colatkinson pushed to ~colatkinson/boios git
Pronounced like "boyos."
BoiOS is a hobby operating system. It exists purely for educational and entertainment purposes. It's pretty dang small, runs only on 32-bit, x86-compatible machines, and is generally about as useful as a steering wheel on the subway.
0xC0000000
,
specifically).Building is currently officially supported on Linux, using Bazel. Really, the kernel itself is simple enough that it could just be a bunch of Makefiles, but where's the fun in that?
Bazel will take care of (almost) all dependencies, including a compiler toolchain. It's a pretty hefty initial download, but through the power of caching, should rarely have to be repeated.
xz-utils
, for decompressing some dependencies.libtinfo5
to make clang
work.libc6-i386-dev
on Ubuntu).
qemu
if you want to run the damn thing.Just type make
and you're good to go!
This will create a bootable disk image in ./bazel-bin/img/disk.img
.
Simply run make test
. This will pull in Google Test and run all tests with
changed inputs.
If you haven't noticed the pattern: make run
.
Run make fmt-diff
to check for style violations.
Run make fmt
to fix them automatically.
BoiOS makes use of an email-based workflow. That entails a bit of setup overhead, but as a recent convert, it really is quite nice.
Patches, bug reports, and feature requests should be directed to the mailing list. Please try to search for existing threads before starting a new one.
All source code within the repository, unless otherwise indicated, is licensed under the GNU Public License (GPL) version 3.0. See LICENSE or the GNU website for more details.