Michael Shaw
4dc4f07dc6
mem: improve device memory mapping
...
MMIO ports will no longer directly map to HHDM addresses and will need
to be searched for in the memory mapping tree
2023-10-24 22:16:33 -04:00
Michael Shaw
8584c56f5e
fs: add detection for ext2 filesystems
...
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2023-06-10 20:24:17 -04:00
Michael Shaw
29a0435cf6
slab: replace struct slab with slab_t
...
This type should never be modified by the user, and only passed into the
functions in slab.c. Using a typedef to notifies the user semantically
of this fact
2023-05-19 16:49:34 -04:00
Michael Shaw
0395b65ad8
stdio: add vsnprintf and change printf to kprintf
2023-05-14 01:23:21 -04:00
Michael Shaw
05c528f64c
block: read GPT header from block devices on init
2023-05-13 23:04:15 -04:00
Michael Shaw
b90946e1f8
mem: adjust MMIO addresses
2023-05-10 01:14:33 -04:00
Michael Shaw
0b81c6cccc
ahci: fix bug with block read and write
2023-05-10 00:40:14 -04:00
Michael Shaw
03eb0b0048
fs: begin basic block driver
...
This just makes the API for accessing drives generic, instead of
relying solely on the corresponding driver code
2023-05-09 21:52:35 -04:00
Michael Shaw
b760b9bace
ahci: fix bug causing count sent to device to be incorrect
2023-05-09 17:29:52 -04:00
Michael Shaw
8544efe1ab
slab: upgrade kmalloc to allow DMA regions
...
these DMA regions are only meant to comply with certain AHCI
requirements, and are not yet general purpose
2023-05-08 01:14:11 -04:00
Michael Shaw
20d19ed994
ahci: fix step bug
2023-05-07 19:04:47 -04:00
Michael Shaw
1598837f9a
ahci: remove hello test
2023-05-07 15:38:27 -04:00
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
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