Commit graph vbos/dev
Author SHA1 Message Date
Michael Shaw
17addbb55c ahci: remove unwanted auto-include 2023-05-07 15:23:26 -04:00
Michael Shaw
69ee1fd79c ahci: complete read/write sectors function 2023-05-07 15:21:04 -04:00
Michael Shaw
7db20603f6 ahci: add ahci_read_sectors function 2023-05-06 23:50:14 -04:00
Michael Shaw
0c7c542eb5 ahci: parse devices and add them to list 2023-05-06 22:25:07 -04:00
Michael Shaw
637c9b2d71 pci: add func field to struct pci_device 2023-05-06 22:01:38 -04:00
Michael Shaw
ca0835028f pci: fix pci implementation 2023-05-06 21:57:35 -04:00
Michael Shaw
aa3eb7805d continue ahci development 2023-05-06 21:30:05 -04:00
Michael Shaw
970b34de9a ahci: enumerate ahci bus 2023-05-06 20:48:23 -04:00
Michael Shaw
9ac63f29dd improve pci driver 2023-05-06 17:59:46 -04:00
Michael Shaw
b8b67aadc9 irq: make IRQs dynamically mappable 2023-05-04 22:10:23 -04:00
Michael Shaw
87146087ca begin ahci driver 2023-05-04 21:47:48 -04:00
Michael Shaw
ce430f490d pci: change messages to debug prints
this also disables interrupts during ISRs
2023-05-04 16:25:43 -04:00
Michael Shaw
39c778d2f0 add some asserts 2023-05-04 02:02:17 -04:00
Michael Shaw
605507a688 pci: add simple pci driver
this driver only prints devices on the pci bus.
2023-05-03 23:55:54 -04:00
Michael Shaw
dcf299fada console: add ready message 2023-04-30 01:09:23 -04:00
Michael Shaw
9222a373fc buddy: replace free-lists with binary tree
before this patch, the buddy allocator used a hybrid bitmap-freelist
approach where free would use the bitmap to determine size, but all
other operations we O(n) traversals of the free-list.

now, both alloc and free use the bitmap exclusively for allocation.
2023-04-29 00:15:50 -04:00
Michael Shaw
9cf4b71559 revert apic change
this is now on its own branch and will be worked on separately from the
main focus of this project, which is to get a VFS and into userspace as
soon as possible
2023-04-22 14:47:46 -04:00
Michael Shaw
22762339f9 irq: begin moving away from 8259
8259 PIC was used for interrupts for bootstrap development while the memory manager was being constructed. now that this is complete, a transition to the apic will begin

this patch fixes memory mapping issues with the reserved regions that caused page faults before.
2023-04-22 13:01:46 -04:00
Michael Shaw
fe93196a01 remove atoi test 2023-03-24 03:45:11 -04:00
Michael Shaw
3215605b2d add console 2023-03-15 03:33:03 -04:00
Michael Shaw
f001be171c console: add console_resize() 2023-03-15 03:32:47 -04:00
Michael Shaw
9a4ff385bd pic: enable legacy pic serial interrupts 2023-03-14 04:25:06 -04:00
Michael Shaw
3b203fa698 serial.c: include serial.h 2023-03-13 18:15:14 -04:00
Michael Shaw
bb6de2047e serial: move COM1 to serial.h 2023-03-13 18:10:19 -04:00
Michael Shaw
d5f388208c mem: formatting fix 2023-03-09 01:59:21 -05:00
Michael Shaw
ffddd592da mem: begin work on pager 2023-03-04 16:46:33 -05:00
Michael Shaw
2b9d76d015 mem: add page entry type 2023-03-01 14:20:13 -05:00
Michael Shaw
01a2dde3cb apic: remove useless variable 2023-03-01 00:59:34 -05:00
Michael Shaw
edf996b579 apic: change print messages 2023-03-01 00:59:16 -05:00
Michael Shaw
f4f4d3150e apic: moved declaration outside of switch statement 2023-02-28 23:00:01 -05:00
Michael Shaw
644508ee45 Added license identifiers to all files 2023-02-28 22:14:06 -05:00
Michael Shaw
977ea64457 stdio: fixed the 'x' case in printf
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2023-02-28 22:05:03 -05:00
Michael Shaw
b525b0609b apic: added ioapic r/w functions 2023-02-28 21:48:10 -05:00
Michael Shaw
2c590e677d moved apic init to apic_init() 2023-02-28 21:30:38 -05:00
Michael Shaw
92396db851 stdio: Added LOG_ specifiers to all prints
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2023-02-28 20:32:39 -05:00
Michael Shaw
57ed3eefe6 apic: Added madt entry struct types
This also moves madt parsing to apic.c
2023-02-28 19:51:37 -05:00
Michael Shaw
0cc86fc37d Add support for limine RSDP request 2023-02-27 20:53:41 -05:00
Michael Shaw
ca5351b847 Added support for basic x86 features
Includes 'gdt', 'idt' and a serial driver
2023-02-27 18:36:15 -05:00
Michael Shaw
bae9ffa930 Initial commit 2023-02-27 14:14:37 -05:00