Commit Graph

29 Commits

Author SHA1 Message Date
Jeremy Soller bbe2dd0ff4 Implement rfc 4 2016-11-25 12:09:54 -07:00
Jeremy Soller 5ef013eecf Fix warnings, increase size of fs 2016-11-19 20:23:25 -07:00
Jeremy Soller b17444e3ce Allow compiling both livedisk and harddrive 2016-11-19 20:19:41 -07:00
Jeremy Soller 3da2ea9d9a More advanced setns syscall 2016-11-16 22:14:02 -07:00
Jeremy Soller c290fd78db Add ability to contain a process in a scheme sandbox 2016-11-16 20:54:38 -07:00
David Teller 53c2c7a332 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 3aa2f2d0c4 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 e3f7c9a692 Update scheme documentation 2016-11-04 13:38:40 -06:00
Jeremy Soller 7952e3ed63 Add null: and zero: 2016-10-31 21:54:56 -06:00
Jeremy Soller 2fc605a88d Allow schemes to be listed 2016-10-13 21:13:37 -06:00
Jeremy Soller c484241e1c Add sys scheme to allow inspection of processes. WIP: Signals. 2016-10-13 21:00:51 -06:00
Jeremy Soller d778f0b040 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 7a96e6c9be Add pipe2 2016-10-06 18:46:24 -06:00
Jeremy Soller 1e2e5a5d31 Event support - demonstration in example scheme 2016-09-23 17:54:39 -06:00
Jeremy Soller 4ee9a6b492 Create example userspace scheme. Remove kernel duplication of syscalls, use syscall crate instead 2016-09-20 16:23:28 -06:00
Jeremy Soller 7a5d9d440c Implement user schemes. Example in pcid. Currently deadlocks in UserInner 2016-09-20 08:47:16 -06:00
Jeremy Soller 2f06e18743 WIP: User scheme 2016-09-19 21:24:54 -06:00
Jeremy Soller fcbc8951da Minimize locking in schemes. Reenable pcid and ion launch in init. WIP: Userspace schemes 2016-09-19 18:29:28 -06:00
Jeremy Soller de53701ed9 Add mechanism to read IRQ count 2016-09-18 18:59:46 -06:00
Jeremy Soller af2f6fc6df 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 cf27b3a3ad Fix close, add dup 2016-09-11 17:31:21 -06:00
Jeremy Soller 4692e9b267 Load init from initfs 2016-09-10 19:42:26 -06:00
Jeremy Soller 3837b2606f Connect schemes so that they can be used 2016-09-08 20:06:33 -06:00
ticki 9ca3559cc8 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 8fc113adef Refactor context list 2016-08-18 08:30:45 -06:00
Jeremy Soller 0bd1cda1b6 Cleanup schemes list, remove lazy_static 2016-08-18 08:10:08 -06:00
Jeremy Soller 9f79abe542 Lazy static init of schemes 2016-08-16 11:04:14 -06:00
Jeremy Soller 38f1a4fb76 WIP: Schemes 2016-08-14 21:38:32 -06:00
ticki b2fe1799fd Rename the src directory to kernel. 2016-08-14 18:42:32 +02:00