Commit Graph

35 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 202ead3b93 Update rtl8168d to new events 2018-05-20 16:16:45 -06:00
Jeremy Soller 0a9b15939e Update to new event 2018-05-20 11:05:10 -06:00
Jeremy Soller a081f9e2ff Remove IRQ debug print 2018-03-10 16:03:21 -07:00
Jeremy Soller 329750afb9 Remove debug prints 2018-03-10 16:02:06 -07:00
Jeremy Soller 5bccc80152 Fix rtl8168 driver 2018-03-10 15:12:55 -07:00
Jeremy Soller bd8a377c78 Use capability mode (null namespace) for drivers 2017-10-09 20:36:16 -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 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 898ec5acbd Yield unstead of pause in loops in rtl8168d 2017-03-21 20:38:57 -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
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 3667c0ffd9 Use mmio, disable timer interrupt 2016-11-22 17:05:23 -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 a1acadd373 More debugging of writes in ahcid 2016-10-22 22:23:09 -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 4d3580f0f2 Fix tx and rx 2016-10-20 16:48:09 -06:00
Jeremy Soller 1f0ba2b945 Do not block on IRQ read, add more debugging to RTL8168/9 2016-10-20 15:49:17 -06:00
Jeremy Soller 6b60fd6c59 Fix buffers by using two 32-bit high and low parts 2016-10-20 14:28:58 -06:00
Jeremy Soller d78981ded6 Add rtl8168 driver, make drivers use O_NONBLOCK 2016-10-20 12:52:58 -06:00