1
0
Fork 0
forked from koniifer/ableos
Commit graph

34 commits

Author SHA1 Message Date
TheOddGarlic c6f7f7665c IDE: Implement writing using Bus Mastering DMA 2022-08-17 17:19:27 +03:00
TheOddGarlic 9329059510 IDE: Add LBA28 addressing support
LBA28 is obsolete at this point, but we prefer to use it over LBA48
whenever we can because LBA28 is faster.
2022-08-17 15:29:50 +03:00
TheOddGarlic f993f6d7b9 IDE: clean everything up 2022-08-17 13:29:34 +03:00
TheOddGarlic 8a1c77db58 IDE: Rename PiixIde to PciIde, use it for all IDE controllers
If the controller is not a known PCI IDE controller, then we warn about
the controller during PCI device discovery. :^)
2022-08-17 13:29:34 +03:00
TheOddGarlic f140938ee6 working IDE DMA implementation 2022-08-17 13:29:34 +03:00
TheOddGarlic 998a1d30cf PCI: device discovery 2022-08-17 13:29:34 +03:00
TheOddGarlic 57d6a5f2bb PCI: a lot of refactoration 2022-08-17 13:29:34 +03:00
TheOddGarlic ca3826bfe5 IDE device discovery 2022-08-17 13:29:34 +03:00
TheOddGarlic 012452dec1 ATA device detection 2022-08-17 13:29:34 +03:00
TheOddGarlic 148c66eae2 progress, i guess 2022-08-17 13:29:34 +03:00
TheOddGarlic 3cb666d26e allocate 16 frames for DMA 2022-08-17 13:29:34 +03:00
TheOddGarlic 6bc74e896c allocate DMA frame 2022-08-17 13:29:34 +03:00
TheOddGarlic 3836416891 PCI: add PIIX3_IDE to supported devices
PIIX4_IDE and PIIX3_IDE are similar enough that we can have one driver
for both.
2022-08-17 13:29:34 +03:00
TheOddGarlic f5c4db98f9 Devices: Add block devices 2022-08-17 13:29:34 +03:00
TheOddGarlic ed68ef9fa0 PCI: add INTEL_PIIX4_IDE device 2022-08-17 13:29:34 +03:00
TheOddGarlic b8f0074aa0 PCI: revision id, programming interface byte and device ID 2022-08-17 13:29:33 +03:00
able e768c308e6 port clparse 2022-08-06 22:12:48 -05:00
able 4518e7ef5e pci work 2022-08-06 06:48:40 -05:00
able 88df078d56 test framework layout 2022-08-05 06:22:23 -05:00
TheOddGarlic b3721bca19 handle dependencies, get rid of shadeable 2022-08-02 14:13:29 +03:00
TheOddGarlic 69c10e0ba4 misc warning fixes
this concludes the fix warnings phase of the cleanup
2022-08-01 14:50:41 +03:00
TheOddGarlic 983550ae54 chore: cargo fmt 2022-08-01 13:50:07 +03:00
able feccc3ab41 planning 2022-06-02 06:51:23 -05:00
Able 08c2cf73ea back into virtio work 2022-04-25 13:39:39 -05:00
Erin 9ed7dbb34c chore: fmt 2022-04-12 00:23:11 +02:00
Erin b86d42e48c Obeyed clippy, our paperclip overlord (mostly) 2022-04-11 23:07:01 +02:00
Erin 56b569deb2 Refactoring
- Applied some clippy lints
- Formatting
- Replaced lazy_static with Lazy from spin
2022-04-11 22:51:54 +02:00
Able 6bf591a313 incorperate axel 2022-03-26 06:35:33 -05:00
Able b1eaea239e VTerm| VTerm device 2022-03-16 09:38:47 -05:00
Able 0379a34a59 TOML config|moved a ton of boiler plate to prelude 2022-03-11 13:51:47 -06:00
Able beba2ae0ad modularizing the kernel 2022-03-02 08:38:22 -06:00
Able c21b1a75f5 pci cleaned up 2022-02-28 06:48:56 -06:00
Able b21c53fa82 minor changes 2022-02-12 03:25:02 -06:00
Able 75cfb18c77 character device impl, pci devices found 2022-02-09 07:08:40 -06:00