Commit Graph

8 Commits (9ef01e2d3d26841d33e3cf44dcac3ca74d3a81e5)

Author SHA1 Message Date
Kyle Schwarz 9ef01e2d3d Optional: nonstd to std 2022-07-22 01:27:39 -04:00
Paul Hollinsky 103f938d69 Disk: ReadDriver: Add unified cache
Previously, we had to copy an entire block out of the
old cache every time we wanted to read even a single
byte from it.

This ended up being a fairly significant performance
issue, in addition to the fact that the caching code
was duplicated.
2022-04-14 18:26:44 -04:00
Paul Hollinsky 0a15adbe91 Disk: Allow mismatched access for Read and Write drivers
This will cause the driver to fall back to the least common
denominator.
2022-03-03 20:29:13 -05:00
Paul Hollinsky 4ef8fe8794 Disk: Predictable behavior for zero length reads 2022-02-28 01:54:21 -05:00
Paul Hollinsky 0b27e88da1 Disk: WriteDriver: Fix parameter shadowing 2022-02-25 01:14:57 -05:00
Paul Hollinsky 241502c2a2 Disk: Fix improper offset calculation
This would cause an underflow previously
2022-02-25 01:14:57 -05:00
Paul Hollinsky 242c7259ac Disk: Proper error reporting for EOF 2022-02-25 01:14:57 -05:00
Paul Hollinsky 0dcd950092 Device: Add disk write driver framework
At the moment, no drivers are implemented, so all devices have Access::None.
2022-02-25 01:14:57 -05:00