Commit graph

27 commits

Author SHA1 Message Date
Jeremy Soller 9d37f38849 WIP: Predictable naming 2016-11-21 12:23:17 -07:00
Jeremy Soller 2db2d10cce Switch to real standard, fix daemonization on real standard 2016-11-10 20:02:51 -07:00
Jeremy Soller 9804b5f548 Disable power management 2016-11-07 20:46:34 -07:00
Jeremy Soller 4a40a8b7f7 Fix eventing in kernel 2016-11-03 16:02:44 -06:00
Jeremy Soller e3317f05f7 Remove resource_sceme, Fix syscall crate name, add fmap 2016-11-02 19:48:25 -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 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 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 2608b93dbb Do not ack IRQ in ahcid, as it does not enable IRQs 2016-10-20 14:37:05 -06:00
Jeremy Soller a2ef986edd Add rtl8168 driver, make drivers use O_NONBLOCK 2016-10-20 12:52:58 -06:00
Jeremy Soller d16692665e Remove question mark where not required 2016-10-15 20:56:32 -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 b49211f24e Graphics (#13)
Virtual Terminals
2016-10-07 20:18:05 -06:00
Jeremy Soller f38426e458 Implement unix permissions 2016-10-05 18:01:05 -06:00
Jeremy Soller 478bc20b85 More detailed print on ahci error 2016-09-30 12:06:50 -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 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