Commit Graph

383 Commits

Author SHA1 Message Date
Mark b40d495e4e Add non-MSI IRQ functionality to PCI 2020-03-19 15:31:58 +02:00
Mark 1ddd1b9cc8 USB hub driver 2020-03-12 16:51:52 +02:00
Mark 0ac3074399 Optional debug cycles 2020-02-28 11:58:00 +02:00
Mark 17927f2a73 Remove unnecessary debug message from heap 2020-02-07 17:09:24 +02:00
Mark db4ed36051 Configurable optimization level 2020-02-07 17:07:08 +02:00
Mark 98ac8c8379 Fix optimization issues - improperly clobbered registers and
optimized-out regions
2020-02-07 16:52:13 +02:00
Mark 4878a0b06e Proper FPU init, fxsave/fxrstor for threads 2020-02-07 15:02:06 +02:00
Mark 31a4b8412a Split kernel_main into early (hw) init and main() 2020-02-07 13:19:29 +02:00
Mark b44645900d Added an option to mount filesystems synchronously 2020-02-07 12:54:50 +02:00
Mark 3e392687a5 Add block-layer cache support 2020-02-07 12:17:44 +02:00
Mark 827c259930 Add memory information in sysfs 2020-02-05 18:14:12 +02:00
Mark 16175ac4fc Also dump BARs in sysfs PCI config 2020-02-05 17:52:39 +02:00
Mark b345f51c2a Update PCI with new cherry-picked commit (sysfs) 2020-02-05 17:00:51 +02:00
Mark 5eb8229473 Add file modes to sysfs, add stat() to sysfs 2020-02-05 16:59:28 +02:00
Mark 1164272a06 Add simple set of sysfs entries for PCI information 2020-02-05 16:50:26 +02:00
Mark c322607d31 Lower output level for PCI driver 2020-02-05 16:38:27 +02:00
Mark a21dbbc468 Add support (partial, no caps, no MSI) for legacy PCI configuration 2020-02-05 16:25:59 +02:00
Mark 7dd452b239 Uncomment removed code 2020-02-05 13:46:23 +02:00
Mark bdcf1e6eee Add MIT license in case someone wants (lol) to use it 2020-02-05 13:40:40 +02:00
Mark 41ae3d7aab Fix ring reader ignoring signals and unqueuing threads twice 2020-02-05 13:28:11 +02:00
Mark 533bc8567a Add linked list structure 2020-02-05 11:38:13 +02:00
Mark fc837b97d8 Only use spinlocks in SMP scenario 2020-02-05 10:39:00 +02:00
Mark bdab682a99 Notify ring reader when control character is written to ring 2020-02-05 10:36:31 +02:00
Mark 33ad8e3ee3 Fix scheduler lock not being released when handling signals 2020-02-04 23:37:57 +02:00
Mark 3542b73f1a SMP kinda works, fixed malloc race condition
Damn, I totally need to review SMP safety
2020-02-04 14:16:16 +02:00
Mark d9595c7f62 Change project structure 2020-02-04 12:45:15 +02:00
Mark b60ae9eebd Backport VESA driver 2020-02-03 13:43:02 +02:00
Mark 51d27f5f8c Add GCC/binutils patches 2020-02-03 15:22:46 +02:00
Mark 897bf87843 Add power button handler (and test SCI) for ACPI 2020-02-03 15:00:40 +02:00
Mark 9cc94a4d81 Add legacy PCI configuration space reading for ACPICA compat 2020-02-03 14:31:14 +02:00
Mark b6d2cfb9b3 Better cleanup of dead threads 2020-02-03 13:59:00 +02:00
Mark 32f51f53f0 Backport USB driver + UHCI 2020-02-03 13:40:03 +02:00
Mark e342c62882 Thread cleanup stub 2020-02-03 13:24:52 +02:00
Mark 68a7241a87 reboot() system call 2020-02-03 13:10:46 +02:00
Mark fbdb44b71d Backport ext2 2020-02-03 12:56:53 +02:00
Mark bd023a1873 Console cursor 2020-02-03 12:49:57 +02:00
Mark 818e3d8825 Thread names 2020-02-03 12:47:28 +02:00
Mark 14805828b5 Backport sysfs and random 2020-02-03 12:39:53 +02:00
Mark 4269177c1a execve() arguments 2020-02-03 12:27:46 +02:00
Mark 086447914b brk() and readdir() system calls 2020-02-03 12:16:25 +02:00
Mark 5e23fc4f5c SIGINT from tty, process groups and waitpid() 2020-02-02 13:41:40 +02:00
Mark 6adf9468a4 Make kill() return 0 if sig == 0 and pid is valid 2020-02-01 22:14:56 +02:00
Mark d6ffd57afa Interruptible nanosleep() 2020-02-01 22:08:05 +02:00
Mark 0571a7f12a Bring back more previously available syscalls 2020-02-01 21:11:47 +02:00
Mark b23098c8f2 Add a bunch of headers (stubs) for compat, add getpid() 2020-02-01 00:05:41 +02:00
Mark 6089df1556 Global thread list, proper kill() implementation, proper signal entry in
sched
2020-01-31 23:35:46 +02:00
Mark 0df6daa87f Restructure source files 2020-01-31 22:57:38 +02:00
Mark 4e845d5d5e Backport more old code 2020-01-31 22:18:29 +02:00
Mark 93c8fc0b77 Make sigenter-stored RSP per-thread attribute 2020-01-31 17:25:04 +02:00
Mark f00b5127b9 Cleanup a bit 2020-01-31 17:20:30 +02:00