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
5d7b0a3889
Enable interrupt flag in userspace
2016-10-06 20:52:24 -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
4331195693
Allocate AP stack linearly
2016-09-28 08:59:14 -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
Jeremy Soller
79f7e09230
Add FX
2016-09-22 16:13:05 -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
0540726890
Fix context_switch_unlock being optimized out
2016-09-21 14:47:45 -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
be3bcbb878
Add function for getting mapped page flags
2016-09-20 17:36:36 -06:00
Jeremy Soller
941fc0b494
Grant to allow passing data to scheme handler
2016-09-20 14:50:04 -06:00
Jeremy Soller
0b3be623fc
Move PS/2 driver to userspace
2016-09-19 17:19:49 -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
70a2faa0c7
Correctly position stack in higher half
2016-09-19 08:46:11 -06:00
Jeremy Soller
1331f4103f
Unlock context switch lock without potentially screwing up switch_to function
2016-09-18 21:05:59 -06:00
Jeremy Soller
36fde7c7c5
Allow userspace to handle IRQs (WIP). Create basic keyboard handler
2016-09-18 20:17:08 -06:00
Jeremy Soller
4bcee99d9f
Add mechanism to read IRQ count
2016-09-18 18:59:46 -06:00
Jeremy Soller
483d466b1a
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
cfbaccf4d2
Complete execve - add argument support using safe ABI
2016-09-17 21:44:50 -06:00
Jeremy Soller
d5766c092f
Remove debug breaks
2016-09-17 09:19:55 -06:00
Jeremy Soller
4e78a12002
Do not halt on page fault, do a stack dump
2016-09-17 08:13:09 -06:00
Jeremy Soller
aa7e38882b
Map display in kernel shared memory
2016-09-15 08:50:29 -06:00
Jeremy Soller
53a5a9188a
Remove debugging
2016-09-15 08:39:20 -06:00
Jeremy Soller
33e098c124
Fix implementation of clone and exec. Now the init process can load and execute the pci driver
2016-09-15 08:35:07 -06:00
Jeremy Soller
b01a918556
WIP: Create new page table for clone
2016-09-14 22:21:52 -06:00
Jeremy Soller
c000820d72
Move kernel heap into kernel PML4, now a single PML4 needs to be copied to initialize a new table
2016-09-14 21:28:09 -06:00
Jeremy Soller
83bc8a0da5
Higher-half kernel mapping. Unmap where possible, freeing up lower memory
2016-09-14 20:47:55 -06:00
Jeremy Soller
6e16298e71
WIP: Copy usermode stack
2016-09-13 21:27:27 -06:00
Jeremy Soller
3f9012b931
Restore page fault handler
2016-09-13 20:35:01 -06:00
Jeremy Soller
dc87afd2ac
Fix userspace clone by clobbering all variables on clone
2016-09-13 20:31:45 -06:00
Jeremy Soller
ce50faf7ca
Allow cloning of kernel threads. Userspace breaks potentially due to stack aliasing
2016-09-13 20:06:39 -06:00
Jeremy Soller
31fdc8f175
Cleanup usermode jump
2016-09-12 17:52:38 -06:00
Jeremy Soller
e50e6d2e4f
Remove user TLS
2016-09-12 15:52:04 -06:00
Jeremy Soller
ea8b9189a3
Pass page table of BSP to AP
2016-09-12 15:50:16 -06:00
Jeremy Soller
6d675fc43a
Map kernel TLS to general area
2016-09-12 15:02:03 -06:00
Jeremy Soller
11eddfecd1
Cleanup PML4 entries, pass correct cpu ID to trampoline
2016-09-12 13:06:00 -06:00
Jeremy Soller
1298e38ed8
cr3 in context
2016-09-12 12:21:34 -06:00
Jeremy Soller
bed09d0518
Allow thread control block to be moved
2016-09-11 18:25:05 -06:00
Jeremy Soller
f05cc96db1
KVM default off, ack after irq handling
2016-09-11 15:13:09 -06:00
Jeremy Soller
8563961f28
Flush TLB correctly when remapping
...
Seperate mouse and keyboard structs in PS/2 driver
2016-09-11 15:02:35 -06:00
Jeremy Soller
44e8b99b46
Implement exec
...
Implement brk
2016-09-10 22:06:09 -06:00
Jeremy Soller
00db6ddd62
vga=no mode and serial echo
2016-09-10 19:24:16 -06:00
Jeremy Soller
842826c1b0
Implement sched_yield, enable interrupts in userspace
2016-09-10 19:18:59 -06:00
Jeremy Soller
bd7bca30fa
Remove debugging messages, launch elf on APs
2016-09-10 19:03:31 -06:00
Jeremy Soller
ce717ff277
Reorganize kernel memory mappings
2016-09-10 18:48:27 -06:00
Jeremy Soller
7ace92c60c
Show where frame allocator ran out
2016-09-10 16:28:01 -06:00
Jeremy Soller
729c7fd004
Prepare for higher half
2016-09-09 18:31:48 -06:00