toaruos/TODO.md

173 lines
5.8 KiB
Markdown
Raw Normal View History

2013-03-26 08:43:38 +04:00
# Multiarch / Ports
* Split out x86 / PC-specific bits into new arch/ directories
* Fix up uses of explicitly sized types where possible
* x86-64 port
* Good for verification of multi-arch readiness
* Much easier to develop for than ARM port
* ARMv6 port is underway
# Cleanup and POSIX expansion
* Rewrite underlying process model
* `task`/`process` split should match architecture dependency split
* Better allocation management, process tracking
* Cleanup is a pain right now - we need to stop eating processes that finish with parents that might want their statuses.
* Sleeping, wait queues, and IO polling/select depend on some rewriting
# New EXT2 drivers
* The EXT2 drivers are poorly written, they need a complete rewrite
* Allow for multiple EXT2 instances
* Operate on block devices rather than directly with ATA drives
* Allows for effortless ramdisk implementation with same code
* Will make MMC port a lot easier for RPi
2012-11-22 09:09:58 +04:00
# TODO as of November, 2012
2012-12-03 07:32:54 +04:00
* force a build run
2013-03-26 08:43:38 +04:00
* ~~Integrate Cairo into build toolchain~~
2012-11-22 09:09:58 +04:00
* autogen means extra effort needed
* required to ship with new compositor
2013-03-26 08:43:38 +04:00
* ~~Fix static initializers in C++~~
2012-11-22 09:09:58 +04:00
* The best method for this is probably going to be writing a dynamic loader, so...
* Write a dynamic loader
* Pretty much everything below
# TODO for 0.4.0 Distribution Release
2012-12-03 12:10:31 +04:00
* User Interface
* ~~Graphical Login~~
* More applications
2013-03-26 08:43:38 +04:00
* ~~Working boot on real hardware~~
* Confirmed working on Mini 9 with hard disk boot
2012-12-03 12:10:31 +04:00
# TODO for 0.4.5
* CD support
* Boot from "CD"
* Distribute with Grub
* CD image generator in-repo
* Stable Harddisk writes
* Screenshot functionality
* Attempt an installer?
2013-03-26 08:43:38 +04:00
* ATA writes in general seem to be stable, work on EXT2 FS write support
2012-10-10 08:01:38 +04:00
# Doc Revamp
* Get rid of old, outdated TeX/PDF manual
* Build a modern doxygen-powered documentation system for
kernel functions for use by kernel developers.
* Also include doxygen documentation for included libraries
(lib/graphics, etc.)
2012-09-29 11:37:30 +04:00
# TODO for Microkernel Launch (0.5.0?)
* Replace ramdisks with ELF service executables
* Boot with multiple modules = boot with multiple services.
* vfs.srv, for example
* VFS as a service.
* It would be super awesome to write this in a language that is more flexible.
* Actual file system drivers as separate modules, or what?
* Service bindings
* Essentially, a system call interface to discovering available services.
* `require_service(...)` system call for usable errors when a service is missing?
2013-03-26 08:43:38 +04:00
* ~~Deprecate old graphics applications~~
* ~~And rename the windowed versions.~~
* ~~Environment variables~~
2012-09-29 11:37:30 +04:00
* Support them in general
* Push things like graphics parameters to environment variables
* Integrate service-based VFS into C library
* Which probably means integrating shmem services into the C library
* Services in a separate ring
* Compositor as a service
* Compositor shmem names integrated with service discovery
* For VFS, need better IPC for cross-process read/write/info/readdir/etc. calls
## Service Modules (aka "Services")
* `vfs.srv` The virtual file system server. (required to provide file system endpoints)
* `ext2.srv` Ext2 file system server. (provides `/`)
* `ata.srv` ATA disk access server. (provides `/dev/hd*`)
* `compositor.srv` The window compositing server. (provides shmem regions)
* `ps2_hid.srv` The keyboard/mouse server. (provides `/dev/input/ps2/*`)
* `serial.srv` UART serial communication server (provides `/dev/ttyS*`)
### Future Servers
* `usb.srv` Generic USB device server (provides `/dev/input/usb/*`)
* `proc.srv` Process information server (provides `/dev/proc`; uses lots of kernel bindings)
* `net.srv` Networking server (provides `/dev/net`)
* `gfx.srv` Block-access graphics server (provides `/dev/fb*`)
## Things that are not services
* ELF support is not a service
2012-09-05 04:46:59 +04:00
# TODO as of Septemember 2012
## C++
2012-11-22 09:07:28 +04:00
* ~~Build with C++ support~~
2012-09-05 04:46:59 +04:00
## Terminal Fixes ##
* Mouse features; mouse support in windowed mode
2012-11-22 09:07:28 +04:00
* ~~Tab completion in shell (this is mostly a shell-specific thing)~~
2012-09-05 04:46:59 +04:00
## Windowing System ##
2012-11-22 09:07:28 +04:00
* ~~Graphical Login Manager~~
2012-09-05 04:46:59 +04:00
* Finish GUI toolkit
* File manager app
## Harddisk Drive Extras
* VFS support is still almost entirely non-existent
* Write support for EXT2 is still sketchy
* Still lacking fast read/write for IDE - needs more DMA!
## Toolchain
* Finish GCC port
* Still missing a few things in the underlying C library
* Ideally, also want to be able to build natively, so need scripting, build utils, etc.
2013-03-26 08:43:38 +04:00
* ~~Port ncurses/vim/etc.~~
* This was compleated circa March 2013
2012-09-05 04:46:59 +04:00
* Native development requires good tools.
* Also port genext2fs.
2013-03-26 08:43:38 +04:00
* ~~Directory support needs to be better integrated into the C library still~~
* `readdir` and family have been integrated
2012-09-05 04:46:59 +04:00
## Microkernal Readiness
2012-11-22 09:07:28 +04:00
* ~~Deprecate ramdisks~~ **replaced with new ramdisk module, works better**
* Haven't used them in development in over a year
* Not useful anywhere else due to their limiting sizes
* Implement module execution
* Instead of loading a ramdisk, modules should be standard binaries
* The binaries will be executed in a new "service mode"
* Implement "servicespace"
* Userspace, but at a different ring
* Special access features, like extended port access
* Higher priority scheduling
### Services to Implement
* PCI Service
* Graphics Management Service
* Compositor as a service?
2013-03-26 08:43:38 +04:00
* Technically, it already is.
* Virtual File System Service
2012-09-05 04:46:59 +04:00
## Old I/O goals
### I/O
2011-10-23 03:20:57 +04:00
* `/dev` file system
* `/dev/fbN` and `/dev/ttyN` for virtual framebuffer terminals and graphics
2013-03-26 08:43:38 +04:00
* ~~`/dev/ttyS0` for serial I/O~~
2011-10-23 03:20:57 +04:00
* SATA read/write drivers (`/dev/sdaN`)
* `/dev/ramdisk` (read-only)
* EXT2 drivers should operate on a `/dev/*` file
2013-03-26 08:43:38 +04:00
* Working on this with new ext2 drivers
* Need better block device handling; \*64() operations
* ~~Mounting of `/dev/*` files using a filesystem handler~~
* ~~VFS tree~~
2011-10-23 03:20:57 +04:00