Skip to content

Latest commit

 

History

History
97 lines (74 loc) · 3.36 KB

roadmap.adoc

File metadata and controls

97 lines (74 loc) · 3.36 KB

Roadmap

v0.3

The goal of this release is to make the OS useful as a daily driver.

Drivers

  • ✓ Add xHCI (USB) support

    • ✓ Add USB keyboard driver

    • ✓ Add USB mass storage driver

  • Add ATA support

  • Add Intel WiFi support

  • ✓ Support UEFI GOP or Multiboot2 framebuffer.

    • Writing a driver for every GPU takes too much time and doesn’t cover new GPUs. Supporting the bootloader’s framebuffer will cover all GPUs, both old and new.

Init

  • ✓ Create separate loader for PCI and USB device drivers, as the base init is becoming unwieldy.

  • Add syslog to kernel and move VGA & UART drivers to userspace.

UI

  • Add title bars to windows

  • Implement cursor

  • Allow resizing and moving windows

  • Port or create basic text editor

Other

  • Design & implement a custom filesystem with a focus on error detection and deduplication.

  • ✓ User manager / database.

  • Intercept / custom syscalls.

    • This is useful to run binaries of other OSes as well as change the syscall API while still allowing old programs to be run.

v0.2

  • ✓ Finalize OO interface, i.e. add missing methods.

    • It won’t be the final revision of the interface: more specific methods that have higher performance may still be added. Rather, the basic methods to make the kernel fully functional will be added.

  • ✓ Improve virtio-net.

    • Avoid busy-polling, this will require a way to get the kernel’s monotonic time.

    • Queue multiple packets at once

    • Add a crate that provides a easier & safe wrapper around the raw queue structure

    Caution
    It is still very unstable and tends to unexpectedly break.
  • ✓ Implement SSH or similar

    • This will make the OS more practical as a web server.

  • ✗ Port a proper HTTP server, i.e. one that is asynchronous

    Note
    Async Rust lacks proper abstractions to make programs runtime agnostic. Instead, the existing HTTP server stub was improved to take advantage of the Norost-specific async_std (which is distinct from the one on https://crates.io) library.
  • ✗ Secure kernel against malicious userspace programs

    • Aside from obviously being a requirement, it’ll also make it easier to debug programs that may be causing UB.

    Note
    This is postponed as properly securing against malicious userspace applications without sacrificing too much performance is a difficult topic and should be done right from the get-go.
  • ✓/✗ Move PS/2 keyboard driver and VGA text driver out of the kernel.

    • The PS/2 8042 driver itself will still remain in the kernel as the alternative requires exporting the entire I/O space, which gives way too much power to userland.

      Note
      In the end entire PS/2 driver was moved to userspace to simplify things and keep the kernel leaner.
    • Similarly, a few parts of the VGA text driver will remain in the kernel. A userland driver will mainly deal with figuring out where characters should go, scroll etc.

      Note
      The VGA driver will remain in the kernel until a proper syslog solution is impemented.
  • ✓ Implement a GUI

    • This includes a tiling window manager. Windows will be represented as leaves in a binary tree, much like bspwm.

    • The protocol will be pixel-based to keep it simple & flexible.

    • The first GUI application will be a terminal.

v0.1

  • ✓ Make the OS useable for hosting this website :)