Justin C. Miller
cd09c17d71
Commented out CPUID log messages, they're never differnet under qemu
2018-08-27 06:41:09 -07:00
Justin C. Miller
f74f3f03d1
Include prog_if in PCI device class log message
2018-08-27 06:40:30 -07:00
Justin C. Miller
23006b2b43
Fixed number of args in ahci interrupt log call
2018-08-27 06:39:31 -07:00
Justin C. Miller
7f69a6c9b1
Clean up AHCI: volatile, and sata_reset
2018-05-22 00:31:01 -07:00
Justin C. Miller
1726d10554
Unify syscall/interrupt handling of rsp
2018-05-21 22:57:43 -07:00
Justin C. Miller
757bc21550
Add note to implement FSXAVE
2018-05-21 09:07:53 -07:00
Justin C. Miller
e187679f93
Add 2 more chars to log names
2018-05-21 09:07:53 -07:00
Justin C. Miller
2597e2002b
Get super basic ring3 task switching working
...
* It looks like UEFI enables SSE, so we need to tell clang -mno-sse for
now to not use XMM* until we're ready to save them.
* SYSCALL is working from ring3 tasks, calling console printf!
2018-05-21 09:07:53 -07:00
Justin C. Miller
e6f819ed90
Fix non-packed TSS struct
2018-05-21 09:07:53 -07:00
Justin C. Miller
0c8bcb2400
Add get_rip/get_rsp helpers
2018-05-21 09:07:53 -07:00
Justin C. Miller
c5761cc51e
Add more wscript options for qemu/vbox debugging
2018-05-21 09:07:53 -07:00
Justin C. Miller
24ccf65aba
WIP ring3
2018-05-21 09:07:52 -07:00
Justin C. Miller
814d6f1de6
Minor GDT fixes
2018-05-21 09:07:52 -07:00
Justin C. Miller
bfaab294e6
Set up initial task switching (ring0 only)
2018-05-21 09:07:52 -07:00
Justin C. Miller
0ddcf668cb
Allow for 2MiB large pages
2018-05-21 09:07:52 -07:00
Justin C. Miller
4005e9e791
Split gdt.* from interrupts.*
2018-05-21 09:07:52 -07:00
Justin C. Miller
abaa007c54
Set TSS and load it
2018-05-21 09:07:52 -07:00
Justin C. Miller
87d80f84c2
Remove AHCI debug dumps
2018-05-21 09:07:32 -07:00
Justin C. Miller
3fdf246a22
Split waf listen command out from vbox command
2018-05-20 17:59:59 -07:00
Justin C. Miller
79b95d0045
Move FIS creation into make_command
2018-05-20 17:59:08 -07:00
Justin C. Miller
1e66e5cd82
Re-add CFL setting that was lost
2018-05-20 16:34:15 -07:00
Justin C. Miller
193d9939f0
Add some AHCI debugging dumps
2018-05-20 02:02:06 -07:00
Justin C. Miller
81fc559802
Add initial ATA identify support to AHCI driver
2018-05-17 00:34:29 -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
a5da56d02f
Add guid type
2018-05-16 09:52:06 -07:00
Justin C. Miller
a7e20fd390
Update notes about VBox
2018-05-15 21:51:20 -07:00
Justin C. Miller
9f38e7e5f5
Switch to building VBox images on-demand from QEMU image
2018-05-15 21:39:12 -07:00
Justin C. Miller
93e60cc136
Give kassert its own vector instead of DBZ
2018-05-15 21:38:44 -07:00
Justin C. Miller
5f7ec50055
Add fixes I made while looking for VBox bug
2018-05-15 21:37:27 -07:00
Justin C. Miller
ff0019841f
Fix message in loader
2018-05-15 21:28:46 -07:00
Justin C. Miller
7eeeced2ca
Change wscript vbox copy
2018-05-14 22:53:01 -07:00
Justin C. Miller
0fc369789e
Change GDT code to enforce correct CS
2018-05-14 22:52:28 -07:00
Justin C. Miller
09f72f5ac6
GDT and GPF changes to track down Vbox bugs
2018-05-13 23:22:39 -07:00
Justin C. Miller
716109bab5
Add block device management to device manager
2018-05-12 20:27:46 -07:00
Justin C. Miller
0684fcf7e9
Separate read function into blocking and async portions
2018-05-12 20:16:25 -07:00
Justin C. Miller
289104cde0
Enable AHCI interrupts.
...
* Implement MSI style interrupts
* Move interrupt handling to device_manager for IRQs
* Give device_manager the ability to allocate IRQs
* Move achi::port to an interrupt-based scheme
v0.1.3
2018-05-12 18:38:47 -07:00
Justin C. Miller
c9277e4b12
Split ahci read into separate functions
2018-05-12 13:55:09 -07:00
Justin C. Miller
08125fc2a5
Fix AHCI reads
2018-05-12 00:35:04 -07:00
Justin C. Miller
d06dd2ef43
Rearrange AHCI code, attempt to read WIP
2018-05-11 01:45:39 -07:00
Justin C. Miller
8ae3eea19c
Move AHCI ports to their own class
2018-05-11 01:25:54 -07:00
Justin C. Miller
a1bc76f305
Move malloc into kutil
2018-05-11 01:25:54 -07:00
Justin C. Miller
045bede481
Improve stack tracing
2018-05-11 01:25:40 -07:00
Justin C. Miller
0a231f2e0e
Return to disk-based booting
2018-05-10 01:24:31 -07:00
Justin C. Miller
87e7c5f00a
Updating wscripts to use custom tasks
2018-05-09 10:21:21 -07:00
Justin C. Miller
7ded9fe219
Add initial AHCI structures and probe capabilities
2018-05-09 02:30:06 -07:00
Justin C. Miller
b389e75d33
Move PCI classes to separate files
2018-05-09 01:21:30 -07:00
Justin C. Miller
9128bfc5f1
Switch to clang and improve cpprt
2018-05-09 01:17:18 -07:00
Justin C. Miller
bb227d2c37
Update README.md
2018-05-08 22:16:11 -07:00
Justin C. Miller
954da93301
Add LICENSE.md
2018-05-08 21:53:54 -07:00
Justin C. Miller
1dce0f265d
Add memory manager tests
2018-05-08 21:53:43 -07:00