Commit Graph

37 Commits

Author SHA1 Message Date
Jeremy Soller c47c68f44c Update fmap support 2018-12-28 16:19:09 -07:00
jD91mZM2 c6b1dea60d Fix compilation
There was a version mismatch because of outdated redox_event and some issues with the Cargo.lock that `cargo update` fixed
2018-06-13 07:20:05 +02:00
Jeremy Soller aaafbbad33 Update e1000d to new event 2018-05-20 16:11:19 -06:00
Jeremy Soller 0a9b15939e Update to new event 2018-05-20 11:05:10 -06:00
Jeremy Soller bd8a377c78 Use capability mode (null namespace) for drivers 2017-10-09 20:36:16 -06:00
Jeremy Soller ee58fcaa61 Spin for reset, do not yield 2017-08-21 19:19:07 -06:00
Jeremy Soller 14d8165079 Cleanup xhci, add basic IRQ event functions, cleanup e1000d and rtl8168d 2017-08-06 15:19:56 -06:00
Jeremy Soller 513ddd9eb5 Imports for EINVAL 2017-07-22 13:44:21 -06:00
Jeremy Soller 473ac85faa Return error when dup buf is not empty 2017-07-22 13:17:48 -06:00
Jeremy Soller ce78f9cf9e Use dashes for mac addresses 2017-07-20 19:39:50 -06:00
Jeremy Soller c54aa03e54 Add newlines to network config 2017-07-20 19:02:50 -06:00
Jeremy Soller 1e7013915b Add path implementation for e1000d and ahcid 2017-04-15 09:57:37 -06:00
Jeremy Soller beef16096f Use thread::yield_now instead of pause in ahcid, e1000d, and rtl8168d
Remove debugging from e1000d
2017-03-21 20:52:39 -06:00
Jeremy Soller 3a8e40d78c Yield unstead of spinning without interruption for loops in e1000d, add information about link speed 2017-03-21 20:38:27 -06:00
Jeremy Soller c544b72c73 Reset, wait for link up 2017-03-21 16:56:26 -06:00
Jeremy Soller 4bb229959e Specify crates.io versions 2017-01-13 15:10:16 -07:00
Jeremy Soller 608403765d Refactor to move io into syscall, and use git for crate references 2017-01-09 20:36:36 -07:00
Martin Lindhe 50d7e630f7 fix some typos 2017-01-03 13:14:37 +01:00
Jeremy Soller a876a2925f Remove replacement for libc 2016-12-06 15:15:08 -07:00
Jeremy Soller 4efc72b0a8 Remove rand replace 2016-11-27 16:49:29 -07:00
Jeremy Soller 68a2fe57bc WIP: Predictable naming 2016-11-21 12:23:17 -07:00
Jeremy Soller ccaf9636cf Update syscall and rust, add fcntl for permissions 2016-11-15 16:12:51 -07:00
Jeremy Soller bac443482a Switch to real standard, fix daemonization on real standard 2016-11-10 20:02:51 -07:00
Jeremy Soller 621e557174 Remove resource_sceme, Fix syscall crate name, add fmap 2016-11-02 19:48:25 -06:00
Jeremy Soller 81c4b8c998 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 fe339a9362 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
Jeremy Soller 87a7261781 Add O_NONBLOCK 2016-10-23 15:38:49 -06:00
Jeremy Soller 9c94a5cd86 Event based ethernetd 2016-10-23 15:26:36 -06:00
Jeremy Soller b18653c57d Debug all driver activity to display:1, use format to avoid line splitting 2016-10-22 19:35:23 -06:00
Jeremy Soller 5724bacd2b Set mac address on boot 2016-10-22 19:13:57 -06:00
Jeremy Soller 04266d6438 WIP: Make network drivers send fevent packets 2016-10-22 17:14:52 -06:00
Jeremy Soller d78981ded6 Add rtl8168 driver, make drivers use O_NONBLOCK 2016-10-20 12:52:58 -06:00
Jeremy Soller 571c5ac641 Less output in pcid, fix e1000d crate name 2016-10-19 13:19:37 -06:00
Jeremy Soller f0664243c3 Remove question mark where not required 2016-10-15 20:56:32 -06:00
Jeremy Soller 815c471aed 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 936f177775 Allow sending/receiving with e1000 driver 2016-10-08 20:36:51 -06:00
Jeremy Soller 2cadfb8691 Graphics (#13)
Virtual Terminals
2016-10-07 20:18:05 -06:00