Jeremy Soller
1a1fb1f5e1
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
962836aa47
Do not block on IRQ read, add more debugging to RTL8168/9
2016-10-20 15:49:17 -06:00
Jeremy Soller
9c3a06b8f9
Add nonblocking root scheme
2016-10-20 12:31:39 -06:00
Jeremy Soller
71ff7af970
Send multiple events if there are multiple packets
2016-10-14 22:06:43 -06:00
Jeremy Soller
99fee86ef9
Significant improvements for events - switch to event queue in orbital
2016-10-14 20:12:21 -06:00
Jeremy Soller
bc72488851
Allow O_NONBLOCK to be passed to pipe
2016-10-14 19:34:00 -06:00
Jeremy Soller
f852450610
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
c294b5b92c
Disable orbital by default
2016-10-13 21:19:02 -06:00
Jeremy Soller
2fc605a88d
Allow schemes to be listed
2016-10-13 21:13:37 -06:00
Jeremy Soller
c484241e1c
Add sys scheme to allow inspection of processes. WIP: Signals.
2016-10-13 21:00:51 -06:00
Jeremy Soller
d778f0b040
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
7841f3617a
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
7a96e6c9be
Add pipe2
2016-10-06 18:46:24 -06:00
Jeremy Soller
df87992af4
Add sudo command, add effective UID and GID, and groups file
2016-10-05 20:31:59 -06:00
Jeremy Soller
965941cd1c
Implement unix permissions
2016-10-05 18:01:05 -06:00
Jeremy Soller
82d2c49543
Add permissions to the filesystem, preliminary permissions to the syscalls
2016-10-05 14:24:08 -06:00
Jeremy Soller
fc5a35d22a
64-bit stat size, read entire executable in one go
2016-09-28 20:42:03 -06:00
Jeremy Soller
62d151c9e8
Unlink syscall
2016-09-28 11:18:28 -06:00
Jeremy Soller
f79570d42f
Fix kernel user scheme fpath
2016-09-28 10:29:17 -06:00
Jeremy Soller
bc4f29d3c8
WIP: AHCI drivers and more memory syscalls
2016-09-26 17:00:06 -06:00
Jeremy Soller
1e2e5a5d31
Event support - demonstration in example scheme
2016-09-23 17:54:39 -06:00
Jeremy Soller
e390c2d00c
WIP: Kevent
2016-09-23 15:47:53 -06:00
Jeremy Soller
3034daac31
Add env
2016-09-23 11:01:53 -06:00
Jeremy Soller
879d582e44
Implement fpath in initfs
2016-09-22 21:13:17 -06:00
Jeremy Soller
bbacabce4f
Trim in env scheme, do not debug initfs
2016-09-22 20:49:28 -06:00
Jeremy Soller
733a812259
Folders in initfs
2016-09-22 20:26:33 -06:00
Jeremy Soller
fcc701cf66
Bring in some coreutils
2016-09-22 19:38:09 -06:00
Jeremy Soller
10a6e148f0
WIP: Userspace console
2016-09-21 12:18:48 -06:00
Jeremy Soller
ec240ef778
Clone grants
2016-09-20 22:14:08 -06:00
Jeremy Soller
b01eb8e47b
WIP: VESA driver. Make initfs generated by code
2016-09-20 21:52:45 -06:00
Jeremy Soller
2b6fae0138
Validate memory pointers
2016-09-20 18:03:14 -06:00
Jeremy Soller
e2ec6fd220
Implement more system calls
2016-09-20 16:57:45 -06:00
Jeremy Soller
4ee9a6b492
Create example userspace scheme. Remove kernel duplication of syscalls, use syscall crate instead
2016-09-20 16:23:28 -06:00
Jeremy Soller
3ae7dc8d98
Grant to allow passing data to scheme handler
2016-09-20 14:50:04 -06:00
Jeremy Soller
863c59d3c2
Increase buffer size when reading executable, update libstd
2016-09-20 09:51:26 -06:00
Jeremy Soller
eeb1cd0a52
Fix deadlock
2016-09-20 09:21:54 -06:00
Jeremy Soller
7a5d9d440c
Implement user schemes. Example in pcid. Currently deadlocks in UserInner
2016-09-20 08:47:16 -06:00
Jeremy Soller
2f06e18743
WIP: User scheme
2016-09-19 21:24:54 -06:00
Jeremy Soller
fcbc8951da
Minimize locking in schemes. Reenable pcid and ion launch in init. WIP: Userspace schemes
2016-09-19 18:29:28 -06:00
Jeremy Soller
fe234e4bf1
Remove warnings
2016-09-19 17:28:22 -06:00
Jeremy Soller
5276c76963
PS/2 driver convert to char
2016-09-19 10:24:19 -06:00
Jeremy Soller
298d999300
Seperate PS/2 keyboard and mouse driver
2016-09-19 09:43:30 -06:00
Jeremy Soller
4403e3e7ac
Allow userspace to handle IRQs (WIP). Create basic keyboard handler
2016-09-18 20:17:08 -06:00
Jeremy Soller
de53701ed9
Add mechanism to read IRQ count
2016-09-18 18:59:46 -06:00
Jeremy Soller
af2f6fc6df
Add fsync. Add env scheme, currently hardcoded to get ion to launch. Make serial IRQ send data to debug scheme
2016-09-18 17:55:35 -06:00
Jeremy Soller
75016bfe39
Update libstd. Add CWD and associated syscalls. Remove debugging
2016-09-17 19:01:34 -06:00
Jeremy Soller
cf27b3a3ad
Fix close, add dup
2016-09-11 17:31:21 -06:00
Jeremy Soller
7a928a5f97
Improve init process, debug missing syscalls, fix error codes in syscall return
2016-09-11 16:48:58 -06:00
Jeremy Soller
038cf5aba1
PCI driver WIP
2016-09-11 15:56:48 -06:00
Jeremy Soller
9b17495dd6
Implement exec
...
Implement brk
2016-09-10 22:06:09 -06:00