Breenix OS

Rust-based x86_64 Operating System targeting POSIX compliance

Overall Development Progress
POSIX Compliance: ~65% • Phase 9 of 15
65%
You Are Here→ Process Layer & Threading
Memory Syscall Roadmap
Strategic path to full memory management POSIX compliance
Phase 1 ✓ Complete
Phase 1: Core Memory Syscalls
✓ Complete

✓ COMPLETE - All core memory syscalls implemented. Required for: shared libraries, malloc implementations, memory-mapped I/O. All 54 boot stages pass!

Phase 2: Advanced Memory Features
Medium Priority

Next priorities for memory management. Required for: efficient fork(), IPC via shared memory, dynamic memory region resizing.

Interactive Shell Roadmap
Path from automated testing to interactive OS usage - boot into a shell (PID 1)
Phase 1 Complete
Architecture Overview
USERSPACE
/init (PID 1) - Shell
• Compiled against libbreenix
• read(stdin) → parse → fork/exec
libbreenix
(syscall wrappers)
syscall boundary
KERNEL
Keyboard
Driver
TTY
Layer
Process
Management
Syscall Interface
read()write()fork()exec()pipe()dup2()
Phase 1: Basic TTY
COMPLETE Priority100%

✓ COMPLETE - Basic TTY infrastructure fully functional! Framebuffer rendering with font support, keyboard input from PS/2 controller, cursor management, and clean log separation.

Phase 2: Line Discipline
COMPLETE Priority85%

✓ MOSTLY COMPLETE - Canonical mode, echo, and erase all working. Line discipline processes input correctly with backspace support. Signal generation from control characters operational.

Phase 3: Shell Integration
IN PROGRESS Priority60%

✓ FUNCTIONAL - Commands execute correctly, line editing works with backspace, ANSI escape sequences parsed. Interactive shell responds to user input reliably.

Phase 4: Job Control
MEDIUM Priority20%

Signal delivery works but no full job control yet. Background execution, fg/bg commands, and process group management still needed.

Row 1

Foundation Layer

Complete
Boot & Init
100% complete
Core Kernel
100% complete
Interrupts
100% complete
Devices
100% complete
Row 2

Process Layer

In Progress
Processes
90% complete
Memory Mgmt
90% complete
Syscalls
75% complete
Threading
55% complete
Row 3

Higher Services

In Progress(~48% avg)
Filesystem
60% complete
IPC
75% complete
Userland
35% complete
Network
30% complete
Row 4

Runtime Libraries

Partial(~27% avg)

Bridge between kernel syscalls and userspace application development

libbreenix
80% complete
Rust std
0% complete
libc
0% complete
Next Actionable Items
  • Filesystem: Implement write support - sys_write for RegularFile and O_CREAT flag for file creation
  • Implement remaining termios flags: ISIG and ICANON toggles for raw mode support
  • Add job control: Ctrl+Z suspend, fg/bg commands for process management
  • Directory syscalls: getdents for directory listing in ext2
  • Add command history: Up/down arrow keys to recall previous commands
Recent Activity
ext2 filesystem and interactive shell
feat: ext2 Phase 2 complete - directory listing and advanced seeking
TODAY - getdents64 syscall, SEEK_END support, O_DIRECTORY flag, edge case coverage. 95 boot stages passing!
feat: VFS layer with mount management
VfsInode, OpenFile abstractions with block device support
test: file_read_test validates byte-by-byte ext2 content
Comprehensive filesystem validation tests
feat: complete interactive shell with line editing and signals
Full REPL with built-in commands and Ctrl+C handling
Development Phases
POSIX Compliance: ~65% • Phase 9 of 15
0
Pre-boot
1
Boot
2
Kernel Init
3
Interrupts
4
Devices
5
Memory
6
Processes
7
Syscalls
8
Threading
8.5
Interactive Shell + ext2 FS ✓
9
Advanced IPC (In Progress)
10
Filesystem
11
Userland
12
Network
13
Drivers
14
POSIX Compat
15
Stability
Built with v0