Commit graph

34 commits

Author SHA1 Message Date
Jeremy Soller 45562bb651 Revert orbital 2016-10-31 22:06:40 -06:00
Jeremy Soller 3f36e05a32 Update redoxfs 2016-10-31 21:57:52 -06:00
Jeremy Soller 149b0297a4 Smp (#23)
* Fire up multiple processors

* Use IPIs to wake up secondary processors

* Much better exception information

* Modifications to show more information on fault

* WIP: Use real libstd

* Add TLS (not complete)

* Add random function, export getpid, cleanup

* Do not spin APs until new context

* Update rust

* Update rust

* Use rd/wrfsbase

* Implement TLS

* Implement compiler builtins and update rust

* Update rust

* Back to Redox libstd

* Update rust
2016-10-31 10:49:00 -06:00
Jeremy Soller 25dc44b348 Add DMAR device definition 2016-10-26 17:23:20 -06:00
Jeremy Soller 2095de83e8 Try to avoid memory leak in tcpd 2016-10-26 14:20:08 -06:00
Jeremy Soller 69b40c1c95 Update submodules 2016-10-26 13:28:04 -06:00
Jeremy Soller 2491e4771e Redo networking (#22)
* Rewriting network functions

* Add buffer to dup
Fix non-blocking handling by triggering once on enabling events to read to EOF

* Modifications for UDP API

* Implement TCP client side

* Add active close

* Add DMAR parser

* Implement basic TCP listening. Need to improve the state machine

* Reduce debugging

* Fixes for close procedure

* Updates to fix path processing in libstd
2016-10-26 13:19:56 -06:00
David Teller 9334cb0b78 Sharing the message queue between instances of ip:127.0.0.1/*. (#20)
The initial version of the IP loopback had one message queue for each
connection. This doesn't make sense, we need to share the message
queue across all connections.
2016-10-24 15:02:57 -06:00
David Teller a72750cc41 Implementation of the IP loopback. (#19)
This patch lets users connect to `ip:127.0.0.1/*`. Bytes written to
this connection can only be read from the same connection.
2016-10-24 14:17:12 -06:00
Jeremy Soller ead01ea2da Add random number scheme, update userutils to use it 2016-10-24 14:08:15 -06:00
David Teller 35696f4169 Documentation run on schemes/ipd. (#18)
* Documentation run on schemes/ipd.

* Update main.rs

* Update resource.rs
2016-10-24 07:40:44 -06:00
Jeremy Soller c805f53ade Update submodules 2016-10-23 19:01:30 -06:00
Jeremy Soller 66bcd0d1ba Enable arpd, update netutils, remove loop in ethernetd 2016-10-23 15:57:04 -06:00
Jeremy Soller eb5ee5edc9 Event based ethernetd 2016-10-23 15:26:36 -06:00
Jeremy Soller d0abe6335a Move common definitions into netutils 2016-10-20 17:49:54 -06:00
Jeremy Soller 3169f7ba45 Update orbital 2016-10-20 12:33:32 -06:00
Jeremy Soller d6b6ac1615 Update orbital 2016-10-14 22:15:27 -06:00
Jeremy Soller 3eede6e7e7 Divide init into two files 2016-10-14 21:11:29 -06:00
Jeremy Soller 77810d6713 Significant improvements for events - switch to event queue in orbital 2016-10-14 20:12:21 -06:00
Jeremy Soller ad448956d6 Add specification to vesad
Fix piping
Fix bug where resources are not closed
Add arpd
Remove question_mark features
2016-10-14 18:22:57 -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 f38426e458 Implement unix permissions 2016-10-05 18:01:05 -06:00
Jeremy Soller f4a1d06f07 Add permissions to the filesystem, preliminary permissions to the syscalls 2016-10-05 14:24:08 -06:00
Jeremy Soller 5e1d2f8c64 64-bit stat size, read entire executable in one go 2016-09-28 20:42:03 -06:00
Jeremy Soller be8cb1ff38 Add more utils 2016-09-28 11:07:54 -06:00
Jeremy Soller 998aee7c50 Fix compilation of filesystem 2016-09-28 09:00:28 -06:00
Jeremy Soller d7be0fc774 Build with filesystem 2016-09-27 21:56:29 -06:00
Jeremy Soller cde825bed9 Add redoxfs 2016-09-27 21:20:14 -06:00
Jeremy Soller 0e8487cf83 Event support - demonstration in example scheme 2016-09-23 17:54:39 -06:00
Jeremy Soller 616dfbc055 WIP: Kevent 2016-09-23 15:47:53 -06:00
Jeremy Soller 046236c10f Add login process. Remove debugging. Fix order of arguments 2016-09-22 08:43:22 -06:00
Jeremy Soller 61eb0d1ca8 WIP: Userspace console 2016-09-21 12:18:48 -06:00
Jeremy Soller 8dfd003c72 Validate memory pointers 2016-09-20 18:03:14 -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