Commit graph

138 commits

Author SHA1 Message Date
Jeremy Soller 6d19f59c08 Allow O_NONBLOCK to be passed to pipe 2016-10-14 19:34:00 -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 64402cfe6c Fixes for updating submodules 2016-10-14 12:00:25 -06:00
Jeremy Soller 4985e1b720 Disable orbital by default 2016-10-13 21:19:02 -06:00
Jeremy Soller c907222657 Allow schemes to be listed 2016-10-13 21:13:37 -06:00
Jeremy Soller d18bf07f3e Add sys scheme to allow inspection of processes. WIP: Signals. 2016-10-13 21:00:51 -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 64cc730eac 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 f28a128198 Add pipe2 2016-10-06 18:46:24 -06:00
Jeremy Soller cb5d1fbc58 Add sudo command, add effective UID and GID, and groups file 2016-10-05 20:31:59 -06:00
Jeremy Soller f38426e458 Implement unix permissions 2016-10-05 18:01:05 -06:00
Jeremy Soller 10c88e7424 Merge branch 'encoded_syscall' 2016-10-05 15:43:35 -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 b3d980b9ac Implement vfork 2016-09-28 21:33:54 -06:00
Jeremy Soller 5e1d2f8c64 64-bit stat size, read entire executable in one go 2016-09-28 20:42:03 -06:00
Jeremy Soller a716eee4c3 Fix CWD without trainling slash 2016-09-28 11:52:29 -06:00
Jeremy Soller 14d3798a48 mkdir and rmdir 2016-09-28 11:26:49 -06:00
Jeremy Soller a68d5a5237 Fix dup 2016-09-28 11:22:01 -06:00
Jeremy Soller 4488cde338 Unlink syscall 2016-09-28 11:18:28 -06:00
Jeremy Soller f2dcefc882 Fix kernel user scheme fpath 2016-09-28 10:29:17 -06:00
Jeremy Soller a4df5185d2 Remove unnecessary slash 2016-09-26 17:39:58 -06:00
Jeremy Soller dad81d3c46 WIP: AHCI drivers and more memory syscalls 2016-09-26 17:00:06 -06:00
Jeremy Soller 549fe53bc3 Encode many of the file syscalls 2016-09-25 11:20:59 -06:00
Jeremy Soller 0e8487cf83 Event support - demonstration in example scheme 2016-09-23 17:54:39 -06:00
Jeremy Soller 616dfbc055 WIP: Kevent 2016-09-23 15:47:53 -06:00
Jeremy Soller 94ef9dd14a Add env 2016-09-23 11:01:53 -06:00
Jeremy Soller 5b3aeb4a9f Fix path lookup 2016-09-22 21:27:33 -06:00
Jeremy Soller 0d762918e2 Implement fpath in initfs 2016-09-22 21:13:17 -06:00
Jeremy Soller d5ac1a70bd Trim in env scheme, do not debug initfs 2016-09-22 20:49:28 -06:00
Jeremy Soller c77fbdb69e Folders in initfs 2016-09-22 20:26:33 -06:00
Jeremy Soller 9ce5628fa4 Bring in some coreutils 2016-09-22 19:38:09 -06:00
Jeremy Soller bc1b503d25 Enable SSE and FPU 2016-09-22 16:14:45 -06:00
Jeremy Soller 76b0c7eeea 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 046236c10f Add login process. Remove debugging. Fix order of arguments 2016-09-22 08:43:22 -06:00
Jeremy Soller 61eb0d1ca8 WIP: Userspace console 2016-09-21 12:18:48 -06:00
Jeremy Soller 5757f3436e Clone grants 2016-09-20 22:14:08 -06:00
Jeremy Soller e110ab81b8 WIP: VESA driver. Make initfs generated by code 2016-09-20 21:52:45 -06:00
Jeremy Soller 8dfd003c72 Validate memory pointers 2016-09-20 18:03:14 -06:00
Jeremy Soller ed3170bdcc Implement more system calls 2016-09-20 16:57:45 -06:00
Jeremy Soller f60661820d Create example userspace scheme. Remove kernel duplication of syscalls, use syscall crate instead 2016-09-20 16:23:28 -06:00
Jeremy Soller 941fc0b494 Grant to allow passing data to scheme handler 2016-09-20 14:50:04 -06:00
Jeremy Soller 2b915953c9 Increase buffer size when reading executable, update libstd 2016-09-20 09:51:26 -06:00
Jeremy Soller d329f7c7d2 Fix deadlock 2016-09-20 09:21:54 -06:00
Jeremy Soller 791dbfa7ad Implement user schemes. Example in pcid. Currently deadlocks in UserInner 2016-09-20 08:47:16 -06:00
Jeremy Soller c512d04378 WIP: User scheme 2016-09-19 21:24:54 -06:00
Jeremy Soller abdbadfea3 Minimize locking in schemes. Reenable pcid and ion launch in init. WIP: Userspace schemes 2016-09-19 18:29:28 -06:00
Jeremy Soller 94ad63de11 Remove warnings 2016-09-19 17:28:22 -06:00
Jeremy Soller c957c2a105 PS/2 driver convert to char 2016-09-19 10:24:19 -06:00
Jeremy Soller 727647dbf1 Seperate PS/2 keyboard and mouse driver 2016-09-19 09:43:30 -06:00
Jeremy Soller 36fde7c7c5 Allow userspace to handle IRQs (WIP). Create basic keyboard handler 2016-09-18 20:17:08 -06:00