Files
mango/include/socks
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-04-28 20:51:51 +01:00
2023-06-08 20:46:43 +01:00
2023-06-25 11:03:44 +01:00
2023-03-20 20:41:39 +00:00
2023-06-11 16:46:58 +01:00
2023-05-01 18:12:07 +01:00
2023-03-20 20:41:39 +00:00
2023-07-08 22:14:31 +01:00
2023-07-09 21:58:40 +01:00