Commit Graph

29 Commits

Author SHA1 Message Date
Jeremy Soller f48cbf22f3 Add fcntl 2016-11-14 12:14:19 -07:00
Jeremy Soller 485a3b8378 Add more documentation 2016-11-10 20:32:19 -07:00
Jeremy Soller 2d238fada7 Add some documentation 2016-11-03 20:28:59 -06:00
Jeremy Soller 77c43866db Update stat 2016-11-03 13:49:50 -06:00
Jeremy Soller a21644c278 Add fmap 2016-11-02 19:26:21 -06:00
Jeremy Soller 5a687dfeb5 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 1f2421a1c8 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 96846aba3f Add sys scheme to allow inspection of processes. WIP: Signals. 2016-10-13 21:00:51 -06:00
Jeremy Soller 78f58afbec 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 207031175d Time (#11)
* WIP: Time syscalls

* Count time from PIT using low tickrate

* Implement realtime

* Implement nanosleep with a tight loop
2016-10-06 20:50:14 -06:00
Jeremy Soller 8f44c1556a Add sudo command, add effective UID and GID, and groups file 2016-10-05 20:31:59 -06:00
Jeremy Soller 0bbda9d776 Implement unix permissions 2016-10-05 18:01:05 -06:00
Jeremy Soller 957cd4501e Merge branch 'encoded_syscall' 2016-10-05 15:43:35 -06:00
Jeremy Soller 0e7fec4adf Add permissions to the filesystem, preliminary permissions to the syscalls 2016-10-05 14:24:08 -06:00
Jeremy Soller 837430e604 64-bit stat size, read entire executable in one go 2016-09-28 20:42:03 -06:00
Jeremy Soller 33a533665b WIP: AHCI drivers and more memory syscalls 2016-09-26 17:00:06 -06:00
Jeremy Soller a1311b50d7 Encode many of the file syscalls 2016-09-25 11:20:59 -06:00
Jeremy Soller a2038f5f9a Event support - demonstration in example scheme 2016-09-23 17:54:39 -06:00
Jeremy Soller a57b45e86b WIP: Kevent 2016-09-23 15:47:53 -06:00
Jeremy Soller 57d8d71617 Add wnohang, make PS/2 driver write input to display scheme, which then passes it to the shell 2016-09-22 10:10:27 -06:00
Jeremy Soller 416ec07ea4 WIP: VESA driver. Make initfs generated by code 2016-09-20 21:52:45 -06:00
Jeremy Soller da8e5db5c8 Implement more system calls 2016-09-20 16:57:45 -06:00
Jeremy Soller a5cfb8f363 Create example userspace scheme. Remove kernel duplication of syscalls, use syscall crate instead 2016-09-20 16:23:28 -06:00
Jeremy Soller 62f2f83ec8 Implement user schemes. Example in pcid. Currently deadlocks in UserInner 2016-09-20 08:47:16 -06:00
Jeremy Soller 05aa4d16da Complete execve - add argument support using safe ABI 2016-09-17 21:44:50 -06:00
Jeremy Soller bbe85a62a2 Update libstd. Add CWD and associated syscalls. Remove debugging 2016-09-17 19:01:34 -06:00
Jeremy Soller 35ff2bea3e Fix userspace clone by clobbering all variables on clone 2016-09-13 20:31:45 -06:00
Jeremy Soller 46986e0939 Allow exec, emulate clone by pretending to be child 2016-09-11 18:03:10 -06:00
Jeremy Soller dfeef83473 Add syscall library, make init program Rust 2016-09-08 19:10:50 -06:00