genode/repos/os
Norman Feske bdf47785b8 vfs: remove 'file_size' from read/write interfaces
The 'file_size' type denotes the size of files on disk in bytes. On
32-bit architectures it is larger than the size_t, which refers to
in-memory object sizes.

Whereas the use of 'file_size' is appropriate for ftruncate and seek, it
is not a suitable type for the parameters of read/write operations
because those operations refer to in-memory buffers.

This patch replaces the use of 'file_size' by size_t. However, since it
affects all sites where the read/write interface is uses, it takes the
opportunity to replace the C-style (pointer, size) arguments by
'Byte_range_ptr' and 'Const_byte_range_ptr'.

Issue #4706
2023-02-27 08:22:49 +01:00
..
doc Remove SIGNAL/CAP/RAM services from run scripts 2022-04-13 08:08:00 +02:00
include vfs: remove 'file_size' from read/write interfaces 2023-02-27 08:22:49 +01:00
lib vfs: implement plugin for 'Capture' session 2022-04-13 09:29:03 +02:00
recipes depot: recipe for pkg/dynamic_rom 2023-02-27 08:22:47 +01:00
run nova: avoid fault during thread migration 2023-02-27 08:22:45 +01:00
src vfs: remove 'file_size' from read/write interfaces 2023-02-27 08:22:49 +01:00
xsd Remove NIC server role from drivers 2022-05-25 12:19:31 +02:00
README API documentation refinements 2017-05-31 13:16:21 +02:00

This source-code repository contains genuine low-level OS components and
interfaces of Genode. It solely depends on the framework's base API.