Commit graph

28 commits

Author SHA1 Message Date
Jeremy Soller 39419fb008 Fix warnings, increase size of fs 2016-11-19 20:23:25 -07:00
Jeremy Soller 41811ad98d Allow compiling both livedisk and harddrive 2016-11-19 20:19:41 -07:00
Jeremy Soller b551b30300 More advanced setns syscall 2016-11-16 22:14:02 -07:00
Jeremy Soller d294d56b52 Add ability to contain a process in a scheme sandbox 2016-11-16 20:54:38 -07:00
David Teller 9c90a8fe42 Converting file handles into a new type FileHandle
Keeping file handles (and pids, and scheme id, ...) as usize is a
footgun. Let's remove it.
2016-11-14 07:46:43 +01:00
David Teller d16515ea12 Converting scheme ids into a new type SchemeId
Keeping scheme ids (and pids, and file handles, ...) as usize is a
footgun. Let's remove it.
2016-11-14 07:46:43 +01:00
Jeremy Soller 92ac91f4a5 Update scheme documentation 2016-11-04 13:38:40 -06:00
Jeremy Soller 56ac46e933 Add null: and zero: 2016-10-31 21:54:56 -06:00
Jeremy Soller c907222657 Allow schemes to be listed 2016-10-13 21:13:37 -06:00
Jeremy Soller d18bf07f3e Add sys scheme to allow inspection of processes. WIP: Signals. 2016-10-13 21:00:51 -06:00
Jeremy Soller 224c43f761 Orbital (#16)
* Port previous ethernet scheme

* Add ipd

* Fix initfs rebuilds, use QEMU user networking addresses in ipd

* Add tcp/udp, netutils, dns, and network config

* Add fsync to network driver

* Add dns, router, subnet by default

* Fix e1000 driver. Make ethernet and IP non-blocking to avoid deadlocks

* Add orbital server, WIP

* Add futex

* Add orbutils and orbital

* Update libstd, orbutils, and orbital
Move ANSI key encoding to vesad

* Add orbital assets

* Update orbital

* Update to add login manager

* Add blocking primitives, block for most things except waitpid, update orbital

* Wait in waitpid and IRQ, improvements for other waits

* Fevent in root scheme

* WIP: Switch to using fevent

* Reorganize

* Event based e1000d driver

* Superuser-only access to some network schemes, display, and disk

* Superuser root and irq schemes

* Fix orbital
2016-10-13 17:21:42 -06:00
Jeremy Soller f28a128198 Add pipe2 2016-10-06 18:46:24 -06:00
Jeremy Soller 0e8487cf83 Event support - demonstration in example scheme 2016-09-23 17:54:39 -06:00
Jeremy Soller f60661820d Create example userspace scheme. Remove kernel duplication of syscalls, use syscall crate instead 2016-09-20 16:23:28 -06:00
Jeremy Soller 791dbfa7ad Implement user schemes. Example in pcid. Currently deadlocks in UserInner 2016-09-20 08:47:16 -06:00
Jeremy Soller c512d04378 WIP: User scheme 2016-09-19 21:24:54 -06:00
Jeremy Soller abdbadfea3 Minimize locking in schemes. Reenable pcid and ion launch in init. WIP: Userspace schemes 2016-09-19 18:29:28 -06:00
Jeremy Soller 4bcee99d9f Add mechanism to read IRQ count 2016-09-18 18:59:46 -06:00
Jeremy Soller 483d466b1a Add fsync. Add env scheme, currently hardcoded to get ion to launch. Make serial IRQ send data to debug scheme 2016-09-18 17:55:35 -06:00
Jeremy Soller 2fffe3ee77 Fix close, add dup 2016-09-11 17:31:21 -06:00
Jeremy Soller f2ca411cd6 Load init from initfs 2016-09-10 19:42:26 -06:00
Jeremy Soller aeadd17bb5 Connect schemes so that they can be used 2016-09-08 20:06:33 -06:00
ticki 94a1a0fa0c Newtype file descriptors.
To avoid various bugs regarding the typing of file descriptors, we
newtype them into a simple wrapper type.

- Document some stuff.
2016-08-29 11:58:31 +02:00
Jeremy Soller 490dd16776 Refactor context list 2016-08-18 08:30:45 -06:00
Jeremy Soller 2de2d4cac4 Cleanup schemes list, remove lazy_static 2016-08-18 08:10:08 -06:00
Jeremy Soller d383cfb595 Lazy static init of schemes 2016-08-16 11:04:14 -06:00
Jeremy Soller 19077d69db WIP: Schemes 2016-08-14 21:38:32 -06:00
ticki f8bd171efd Rename the src directory to kernel. 2016-08-14 18:42:32 +02:00
Renamed from src/scheme/mod.rs (Browse further)