Bluejay

Github, sourcehut (canonical).

Bluejay is a kernel for x86. Goals include full multitasking, file system support, and some additional features copied from UNIX. Additionally I plan to support Lisp as a first-class language both for user-space programs and for kernel/driver development.

Style Guide

Here is a brief style guide for code contributed to Bluejay, more for myself than anyone else:

  • Each project should go in its own directory with its own Jmk file.
  • Run clang-format before committing
  • Important: to differentiate virtual and physical addresses, append _p to physical addresses (and probably store them as a uint instead of a pointer). The macros VIRT_TO_PHYS and PHYS_TO_VIRT work to convert only kernel-space addresses, not addresses belonging to processes outside the default 8mb kernel memory.

Building and running

Please consult the doc/building.9 manual page for building and debugging information. In short: run Jmk and make qemu.

Debugging

See Bluejay/Debugging.

Contributing

Contributions are welcome. Please submit a patch to my mailing list, or if you prefer, submit a PR on github.

If you have any questions about contributing or just using Bluejay, feel free to email the mailing list or contact me via Jabber/XMPP at swisschili@chat.swisschili.sh.