Commit graph

125 commits

Author SHA1 Message Date
Jeremy Soller 041dc7eaf4 Update orbital 2016-12-13 19:47:57 -07:00
Jeremy Soller 2647d81b1f Update redoxfs, orbutils 2016-12-13 19:44:50 -07:00
Jeremy Soller 2272c1b154 Update rust, update submodules, switch to new redoxfs 2016-12-13 18:06:07 -07:00
Jeremy Soller 04013f473c Fix udpd compile 2016-12-11 11:22:48 -07:00
Jeremy Soller fb232d0b83 Update orbital and orbutils 2016-12-06 20:08:45 -07:00
Jeremy Soller 9fffdb275f Remove replacement for libc 2016-12-06 15:15:08 -07:00
Jeremy Soller 9d879f95ed Cleanup path usage 2016-11-29 18:14:10 -07:00
Jeremy Soller 7357c77f67 Update rust, orbital, orbutils 2016-11-28 20:27:54 -07:00
Jeremy Soller 6b02a20028 Fix loopback 2016-11-28 14:45:30 -07:00
Jeremy Soller 5bdcb832c0 Update orbutils, redoxfs 2016-11-28 14:31:33 -07:00
Jeremy Soller c9e1744423 Remove rand replace 2016-11-27 16:49:29 -07:00
Jeremy Soller c885d11337 Segregate drivers and schemes in /sbin, UI apps in ui/bin 2016-11-26 11:33:05 -07:00
Jeremy Soller c018bfe5ef Implement O_DIRECTORY, switch to open for mkdir 2016-11-25 18:24:38 -07:00
Jeremy Soller 868f70c90b fcntl in tcp: and udp: 2016-11-24 20:53:17 -07:00
Jeremy Soller fe5691349c Update orbutils/orbital 2016-11-23 13:32:41 -07:00
Jeremy Soller 933086d390 Fix ipd 2016-11-22 21:44:52 -07:00
Jeremy Soller 67440cf835 Add loopback interface - significant cleanup of ipd 2016-11-22 21:00:53 -07:00
Jeremy Soller 9068f0560b ipd: Add router usage, fill arp when possible 2016-11-22 17:06:38 -07:00
Jeremy Soller 121fb0b781 Add statvfs 2016-11-18 08:44:03 -07:00
Jeremy Soller 6b8a576a21 Update orbital dependencies 2016-11-16 13:45:25 -07:00
Jeremy Soller 1f29d163b1 Update to add chmod 2016-11-15 17:08:14 -07:00
Jeremy Soller 37395f36ea Update syscall and rust, add fcntl for permissions 2016-11-15 16:12:51 -07:00
Jeremy Soller 2db2d10cce Switch to real standard, fix daemonization on real standard 2016-11-10 20:02:51 -07:00
Jeremy Soller 01d2c8d0f2 Update to use upstream libc and rand 2016-11-09 10:43:05 -07:00
Jeremy Soller 75ef540378 Update redoxfs 2016-11-08 10:52:42 -07:00
Jeremy Soller c3648d1cc4 Replace libc to use closer-to-upstream rand 2016-11-07 11:40:48 -07:00
Jeremy Soller 2c0982d1fc Update rand, add thread_local macro 2016-11-07 11:28:22 -07:00
Jeremy Soller 083d5030c9 Update submodules 2016-11-06 19:04:51 -07:00
Jeremy Soller ced9a69b2a Update syscall lib, update submodules and dependencies 2016-11-03 15:10:32 -06:00
Jeremy Soller 2f6f3c3281 Update orbital 2016-11-02 20:19:49 -06:00
Jeremy Soller e3317f05f7 Remove resource_sceme, Fix syscall crate name, add fmap 2016-11-02 19:48:25 -06:00
Jeremy Soller dd63693c4a Fix close in ptyd 2016-11-02 13:45:45 -06:00
Jeremy Soller 5a63699325 Update orbital 2016-11-02 13:06:52 -06:00
Jeremy Soller 259886b37f Update libstd, orbutils, orbital 2016-11-02 12:48:59 -06:00
Jeremy Soller b43818170e Event on close 2016-11-02 12:48:32 -06:00
Jeremy Soller 75b0844a2a Print seed indicator 2016-11-01 20:16:44 -06:00
Tommie Levy e6b11f87ee Use rdrand as seed for chacha prng, when available 2016-11-02 01:44:13 -04:00
Jeremy Soller 8bbfb8bf2a Fix build on OS X 2016-11-01 15:34:33 -06:00
Jeremy Soller 85f8500cea Update submodules 2016-11-01 15:08:20 -06:00
Jeremy Soller ff227737bf Add pty scheme 2016-11-01 09:53:48 -06:00
Jeremy Soller 1c42712b33 Update orbital 2016-10-31 22:20:36 -06:00
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