Commit Graph

122 Commits

Author SHA1 Message Date
Mark 0d1c8a1bdb Add tarfs/initrd support 2019-10-25 11:46:56 +03:00
Mark 822120af3a Add ram block device + tarfs 2019-10-25 11:25:22 +03:00
Mark 1040973125 Integrate VFS/ext2 code 2019-10-25 11:20:30 +03:00
Mark 6033a7c2d5 Fix RS232_COM0 -> RS232_COM1 2019-10-25 09:42:45 +03:00
Mark 8051cf953c Add global constructor invocation on boot 2019-10-24 21:50:58 +03:00
Mark 11cfcbf1c6 Add device class/ID handlers to PCI 2019-10-24 17:50:36 +03:00
Mark 2a444c4248 Added partition reading 2019-10-24 17:26:19 +03:00
Mark 61b1477873 Add partition enumeration for SATA drives (MBR) 2019-10-24 15:30:05 +03:00
Mark dae945b113 Add [init] task 2019-10-24 12:43:53 +03:00
Mark 778eec2582 Add AHCI PCI IRQ handling 2019-10-23 18:21:42 +03:00
Mark 4067092423 Fix legacy IRQ -> I/O APIC GSI mapping 2019-10-23 15:46:48 +03:00
Mark 6798480797 Better IRQ handling 2019-10-23 15:40:32 +03:00
Mark 1af3d0dd78 Add IDE ATA read using PIO/DMA 2019-10-22 01:09:22 +03:00
Mark 9acc2c6064 IDE ATA/ATAPI device identification 2019-10-21 22:58:43 +03:00
Mark e210b9c60e Added AHCI SATA sector reading 2019-10-21 16:55:20 +03:00
Mark 61dd73b79f Add AHCI SATA device enumeration + SATA device IDENTIFY 2019-10-21 16:14:34 +03:00
Mark 2d41d1c27a Fix heap links 2019-10-20 18:12:52 +03:00
Mark 9c31540b45 Add AHCI device _describe() 2019-10-20 16:36:39 +03:00
Mark 902a16771d Cleanup PCI address scheme 2019-10-18 20:23:57 +03:00
Mark b15ff087d6 Add serial input support (COM1) 2019-10-18 16:57:58 +03:00
Mark d2b2489234 Comment USB devices for now 2019-10-18 14:43:32 +03:00
Mark 178add3f33 Messing around with PCI 2019-10-18 14:41:01 +03:00
Mark 59277a3ad5 Remove $PIR tables 2019-10-17 14:28:51 +03:00
Mark 22bf2f1cf1 Integrate ACPICA into kernel, obtain PCI Interrupt routing table 2019-10-17 14:24:25 +03:00
Mark 944f3122a1 Fix invalid kmalloc 2019-10-16 23:15:59 +03:00
Mark 1f2135342c Fix 2019-10-16 15:37:45 +03:00
Mark f053e0a87b Various 2019-10-16 15:34:39 +03:00
Mark 6fe3cfc690 Some stuff on PCI and IRQ routing 2019-10-15 11:55:40 +03:00
Mark a420918e65 Move thread init to thread.c 2019-10-14 14:05:27 +03:00
Mark 62079a5b7f Idle task becomes truely idle 2019-10-14 13:29:42 +03:00
Mark 5f820044e5 Syscalls totally seem to work 2019-10-14 13:27:39 +03:00
Mark 3dfa5a54f4 Fix syscalls 2019-10-13 18:25:22 +03:00
Mark 2f3aee2d46 SYSCALL looks interruptible enough to me 2019-10-12 19:27:10 +03:00
Mark 64084eb1e4 Enable SMP-compatible syscall entry 2019-10-12 17:57:39 +03:00
Mark bfcc6d7bdf Add phys init 2019-10-12 13:57:32 +03:00
Mark 6297d1bfb2 Bring old code here 2019-10-12 13:40:48 +03:00
Mark 65dfdaa8ae Remove userspace idle code 2019-10-12 12:34:49 +03:00
Mark 48d47dea94 Now with userspace 2019-10-11 21:16:58 +03:00
Mark 4fcda2bc68 Make gdt per-cpu 2019-10-11 20:46:38 +03:00
Mark 09bb6c4be7 Add _irqsave variant of spinlocks 2019-10-11 19:55:31 +03:00
Mark 3e63a77c9f Add testing sched with idle tasks 2019-10-11 19:32:41 +03:00
Mark 0e287e59bd Add %gs/cpu offsets to asm headers 2019-10-11 16:20:49 +03:00
Mark 31e8fd698e Add per-cpu tick counters 2019-10-11 14:23:10 +03:00
Mark 2c4854e23f Move struct cpu to cpu.h 2019-10-11 14:09:41 +03:00
Mark 416cad5d18 Move SMP init to smp.c, clean up Local APIC 2019-10-11 14:02:04 +03:00
Mark 55aa020738 [smp-broken] Add timer initialization 2019-10-10 20:08:23 +03:00
Mark 9ef897d7b9 Add testing spinlock 2019-10-10 19:29:05 +03:00
Mark b4f0aa7279 Add an option for building without SMP support 2019-10-10 18:06:26 +03:00
Mark 4a737e76df Add MAX_SMP option for AMD64 2019-10-10 17:55:05 +03:00
Mark fe4d07e9c0 move makefiles 2019-10-10 17:43:03 +03:00