Commit graph

73 commits

Author SHA1 Message Date
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 875db86f30 Update vesad ransid branch 2016-10-26 14:17:57 -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
Jeremy Soller c805f53ade Update submodules 2016-10-23 19:01:30 -06:00
Jeremy Soller 7f7f5a0078 Add O_NONBLOCK 2016-10-23 15:38:49 -06:00
Jeremy Soller eb5ee5edc9 Event based ethernetd 2016-10-23 15:26:36 -06:00
Jeremy Soller e66acb949b More debugging of writes in ahcid 2016-10-22 22:23:09 -06:00
Jeremy Soller 418149bb07 Debug all driver activity to display:1, use format to avoid line splitting 2016-10-22 19:35:23 -06:00
Jeremy Soller 7e12dea0fe Set mac address on boot 2016-10-22 19:13:57 -06:00
Jeremy Soller df2327b175 Do not throw pcid into background - this prevents ethernetd from exiting if it tries to open network: too early 2016-10-22 19:00:36 -06:00
Jeremy Soller 790c32b0bc WIP: Make network drivers send fevent packets 2016-10-22 17:14:52 -06:00
Jeremy Soller b1293046a3 Simplify vesad by using SchemeMut 2016-10-22 14:54:13 -06:00
Jeremy Soller 63cff7bc48 Fix tx and rx 2016-10-20 16:48:09 -06:00
Jeremy Soller 9037dee817 Do not block on IRQ read, add more debugging to RTL8168/9 2016-10-20 15:49:17 -06:00
Jeremy Soller 2608b93dbb Do not ack IRQ in ahcid, as it does not enable IRQs 2016-10-20 14:37:05 -06:00
Jeremy Soller 62d642b804 Fix buffers by using two 32-bit high and low parts 2016-10-20 14:28:58 -06:00
Jeremy Soller a2ef986edd Add rtl8168 driver, make drivers use O_NONBLOCK 2016-10-20 12:52:58 -06:00
Jeremy Soller dd1c0ca01d Less output in pcid, fix e1000d crate name 2016-10-19 13:19:37 -06:00
Jeremy Soller d16692665e Remove question mark where not required 2016-10-15 20:56:32 -06:00
Jeremy Soller 61bd62376b Correct size of data 2016-10-14 22:06:20 -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 05a5c52f68 Use a single thread for ps/2 driver 2016-10-14 12:54:37 -06:00
Jeremy Soller ddb222389b Move IRQ ack higher in mouse driver 2016-10-14 12:42:02 -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 266062be6c Allow sending/receiving with e1000 driver 2016-10-08 20:36:51 -06:00
Jeremy Soller 4544f9039a Enable bus mastering 2016-10-08 20:36:21 -06:00
Jeremy Soller b49211f24e Graphics (#13)
Virtual Terminals
2016-10-07 20:18:05 -06:00
Jeremy Soller 798f7c8808 Correct ctrl-c behavior 2016-10-06 19:21:48 -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 478bc20b85 More detailed print on ahci error 2016-09-30 12:06:50 -06:00
Jeremy Soller 72fe60b6a8 Add delete and insert to ps2d 2016-09-30 10:34:44 -06:00
Jeremy Soller 446452a275 Do not emit I/O error in the case that a small buffer is passed - just return 0 2016-09-30 10:27:12 -06:00
Jeremy Soller c7eccb3a13 Fix dup deadlock, add stat 2016-09-29 18:34:58 -06:00
Jeremy Soller b79c69cbfc Add dup to ahci disk scheme 2016-09-29 17:45:01 -06:00
Jeremy Soller 84331819f7 Update extrautils, more efficient font drawing 2016-09-29 13:44:34 -06:00
Jeremy Soller ca97b3d2b3 Make rusttype optional for vesad 2016-09-29 13:17:19 -06:00
Jeremy Soller f804ad52e4 Automatically get size of terminal 2016-09-29 12:25:43 -06:00
Jeremy Soller 02b5f34165 Implement control and navigation in ps2 driver 2016-09-28 21:59:51 -06:00
Jeremy Soller c36c62385b Improvements for cooked mode 2016-09-28 15:17:37 -06:00
Jeremy Soller 25519c4f1c Some fixes for cooked mode 2016-09-28 15:04:15 -06:00
Jeremy Soller 6911093696 Cleaner blending of fonts. Do not draw cursor when disabled 2016-09-28 12:19:30 -06:00
Jeremy Soller b33a1e7d95 Remove debugging 2016-09-27 21:27:32 -06:00
Jeremy Soller 67278f9442 Add disk scheme (mostly finished) 2016-09-27 20:52:26 -06:00
Jeremy Soller ba83ca3939 Make AHCI driver read bytes 2016-09-27 20:26:54 -06:00
Jeremy Soller f714d4858a Abstractions for better Ahci driver 2016-09-27 11:14:27 -06:00
Jeremy Soller a4df5185d2 Remove unnecessary slash 2016-09-26 17:39:58 -06:00
Jeremy Soller d72609898a Fix allocate_frames 2016-09-26 17:13:35 -06:00
Jeremy Soller dad81d3c46 WIP: AHCI drivers and more memory syscalls 2016-09-26 17:00:06 -06:00