Max Wash 3233169f25 dev: implement reading from block devices
reading from block devices is done using the block cache (bcache).
This cache stores sectors from a block device in pages of memory
marked as 'cached', which will allow them to be reclaimed when
memory pressure is high (TODO).

while block device drivers implement callbacks allowing reading/writing
at block-granularity, the device subsystem uses the block cache to
implement reading/writing at byte-granularity in a driver-agnostic way.

block drivers can disable the block cache for their devices, but this
will require that any clients communicate with the devices at
block-granularity.

also added an offset parameter to device and object read/write functions/callbacks.
2023-07-09 21:58:40 +01:00
2023-06-02 19:31:09 +01:00
2023-07-09 09:07:15 +01:00
2023-03-09 19:54:27 +00:00
2023-05-07 12:37:21 +01:00
2023-01-31 13:11:53 +00:00
2023-06-10 21:41:07 +01:00
2022-12-13 20:18:46 +00:00
Description
Microkernel
Readme BSD-3-Clause 1.4 MiB
Languages
C 91.2%
Python 4%
Assembly 3.6%
CMake 0.8%
Shell 0.3%
Other 0.1%