Justin C. Miller
e050d6f151
Move more logging infrastructure into kutil
2019-04-06 18:25:09 -07:00
Justin C. Miller
ca2362f858
Simplify task switches
...
No longer using the rsp from the entry to the kernel, but instead
switching rsp at task-switching time in assembly.
This currently breaks fork()
2019-03-31 22:49:24 -07:00
Justin C. Miller
9067f8d298
Add kernel logging task
...
- Enable creating kernel tasks
- Create kernel task that disables immediate-mode logging and prints
logs to the console forever
2019-03-20 23:45:01 -07:00
Justin C. Miller
91cb00fde2
Add immediate log output for early kernel
2019-03-20 20:58:44 -07:00
Justin C. Miller
c435bcfb67
Removed empty unused output_log
2019-03-20 20:58:44 -07:00
Justin C. Miller
7fe1b7d1f5
Add temporary log output
...
Currently the kernel idle process is an infinite loop printing logs,
with no locking.
2019-03-20 20:58:44 -07:00
Justin C. Miller
39524b2b9f
Move kernel over to new logger
2019-03-20 20:58:44 -07:00
Justin C. Miller
2035fffa1c
Fix loading large process images.
...
2MiB large pages were being used for any large page mapping, but the
page manager doesn't correctly handle them everywhere yet. Now only
allow them for offset pointers (eg MMIO space) that will never be
unmapped.
2019-03-09 13:10:10 -08:00
Justin C. Miller
e187679f93
Add 2 more chars to log names
2018-05-21 09:07:53 -07:00
Justin C. Miller
bfaab294e6
Set up initial task switching (ring0 only)
2018-05-21 09:07:52 -07:00
Justin C. Miller
0d75cc999c
Add GPT partition handling as virtual block devices
2018-05-16 10:14:40 -07:00
Justin C. Miller
b389e75d33
Move PCI classes to separate files
2018-05-09 01:21:30 -07:00
Justin C. Miller
0f54630725
Move memory_manager and assert into kutil.
2018-05-08 01:11:03 -07:00
Justin C. Miller
569bc243f1
Fix bug in log::enable
2018-05-05 15:33:56 -07:00
Justin C. Miller
d7506b6aaf
Rename intr log to apic, remove debug defaults
2018-05-05 11:02:41 -07:00
Justin C. Miller
b3e49590a7
Add logging framework
2018-04-28 19:18:53 -07:00