|
0d970a6d25
|
XHCI: allocate scratchpad buffers
|
2025-05-23 10:13:54 -04:00 |
|
|
ea159db100
|
XHCI: allocate device context buffer for each slot
|
2025-05-23 09:21:48 -04:00 |
|
|
e3f27812ad
|
Allocate memory regions for XHCI
|
2025-02-23 20:52:36 -05:00 |
|
|
d78669df9c
|
Check for pkg-config
|
2025-02-23 20:46:31 -05:00 |
|
|
7313b01732
|
Allow allocating arbitrarily aligned physical memory regions
This will be needed for USB (XHCI controller driver).
|
2025-02-21 15:31:48 -05:00 |
|
|
b2497d1ee0
|
HIPPO: store memory regions in addition to individual free pages
|
2025-02-21 12:31:03 -05:00 |
|
|
30078417b6
|
Turn off test thread
|
2025-02-20 15:50:57 -05:00 |
|
|
c18cbf7be3
|
Remove unsupported avx CPU flags
|
2025-02-20 11:30:53 -05:00 |
|
|
2d95371aa1
|
Add hulk.volatile
|
2024-12-03 00:18:45 -05:00 |
|
|
13b6f39e1a
|
Add OVMF search location
|
2024-12-02 10:54:02 -05:00 |
|
|
30aedfc97b
|
Map framebuffer with write-combining access mode to speed up physical hardware
|
2024-07-29 00:01:47 -04:00 |
|
|
26bb071b4d
|
Update base address to build with kernel code model
|
2024-07-28 23:14:24 -04:00 |
|
|
3a75e0505f
|
Prepare for future XHCI setup
|
2024-02-20 11:41:23 -05:00 |
|
|
a02df12924
|
Add XHCI.reset()
|
2024-02-20 11:23:12 -05:00 |
|
|
699f53ac15
|
Initialize USB after enabling interrupts so Time can be used
|
2024-02-20 11:17:29 -05:00 |
|
|
1119855215
|
Fix mapping PCI regions as writable
|
2024-02-20 11:17:01 -05:00 |
|
|
0c82250bd2
|
Fix Time.msleep() when inlined in a loop
|
2024-02-20 11:16:34 -05:00 |
|
|
2a66443a49
|
Add DoorbellRegister comment
|
2024-02-09 13:02:05 -05:00 |
|
|
9874802ee4
|
Add new threads to runnable threads list
More safely handle nested interrupts.
Switch to newly created thread immediately.
|
2023-12-08 12:16:35 -05:00 |
|
|
44a305721e
|
Allow use of {suspend,resume}_interrupts() from within an ISR
Move functions from hulk.cpu to hulk.him.
|
2023-12-01 07:54:37 -05:00 |
|
|
73f4d6b728
|
Rename hulk.idt to hulk.him
|
2023-12-01 07:49:52 -05:00 |
|
|
0efe8af5aa
|
Commonize ISR handling as much as possible
|
2023-11-30 20:32:06 -05:00 |
|
|
edc9b2c3ff
|
Remove thread test
|
2023-11-28 10:47:44 -05:00 |
|
|
c8a9fcf0d5
|
idt: add INT_KERNEL_SWINT
|
2023-11-28 10:30:16 -05:00 |
|
|
dc231741b7
|
cpu: add swint()
|
2023-11-28 10:30:03 -05:00 |
|
|
fbaf9df59f
|
Add kernel threading test
Kernel multithreading is working!
Threads cannot exit for now.
Scheduling is round-robin for now.
|
2023-11-27 20:07:08 -05:00 |
|
|
58a74e4859
|
Fix PCI device list
|
2023-11-27 19:37:14 -05:00 |
|
|
cc1753a75d
|
Move system time display to Rtc.initialize()
|
2023-11-27 19:36:04 -05:00 |
|
|
3c8587acf5
|
Redesign List as a mixin template
|
2023-11-27 15:30:09 -05:00 |
|
|
db2814596b
|
Move PIT test to test module
|
2023-11-25 21:01:46 -05:00 |
|
|
8cfa7bc009
|
Add hulk.thread module
|
2023-11-25 20:58:11 -05:00 |
|
|
d100ab53a8
|
Add read_rflags()
|
2023-11-25 13:02:27 -05:00 |
|
|
35e5aa2ee5
|
Add hulk.test module to test kernel functionality
|
2023-11-22 20:47:21 -05:00 |
|
|
cd9a3a7284
|
Rework List to allow removing nodes
|
2023-11-22 20:46:48 -05:00 |
|
|
294500fb70
|
Squelch linker warning about a RWX segment
|
2023-11-21 12:13:29 -05:00 |
|
|
bb4404df23
|
Add suspend_interrupts() and resume_interrupts()
|
2023-11-21 11:36:22 -05:00 |
|
|
aa5ca83889
|
Disable the red zone
This fixes the interrupt handler from clobbering local variables.
|
2023-11-20 16:18:41 -05:00 |
|
|
f2839cdd0f
|
Handle all APIC IRQ redirects specified in MADT
|
2023-11-07 17:19:56 -05:00 |
|
|
31bf82e2ae
|
Store all registers in interrupt stack frame
Do not clear console when printing interrupt stack frame
|
2023-11-02 16:32:42 -04:00 |
|
|
4f9206af91
|
Build with debugging symbols
|
2023-11-02 11:54:08 -04:00 |
|
|
2eec448653
|
Update gcc and binutils
|
2023-11-02 11:53:35 -04:00 |
|
|
9932b92963
|
Change orange screen of death to red bar
|
2023-11-02 10:34:29 -04:00 |
|
|
5d8343ed40
|
Preserve registers and align stack in interrupt handlers
|
2023-11-02 10:29:27 -04:00 |
|
|
2fa4193517
|
Pass exception stack frame pointer to exception handler
Show exception stack frame contents on exception
|
2023-11-01 21:22:54 -04:00 |
|
|
01c73f8474
|
Add check that PIT ISR is firing
|
2023-11-01 14:45:43 -04:00 |
|
|
7264a31ff3
|
Rework scanning MADT table entries
Get I/O APIC address from MADT entry.
Add DEBUG flag for APIC.
Show number of CPUs found.
|
2023-10-31 13:29:23 -04:00 |
|
|
c0a00b528e
|
Run in QEMU with 4 CPUs by default
|
2023-10-31 11:56:39 -04:00 |
|
|
9f8a4ea100
|
Add hulk.time and msleep()
|
2023-10-26 16:18:26 -04:00 |
|
|
6251fee3ff
|
Store item in List rather than pointer to item
|
2023-10-25 21:28:27 -04:00 |
|
|
f5c6a35cef
|
Move MCFG ACPI table processing from ACPI to PCI
|
2023-10-25 21:18:36 -04:00 |
|