libhwbase/c
Nico Huber 967dd0d48e posix file: Add an `Offset` parameter and make `Len` optional
Give Map() an `Offset` parameter that will be passed to mmap(). Make the
`Len` parameter of Map() optional. If it's left at the default, `0`, map
until the end of the file (up to SIZE_MAX bytes).

Change-Id: I7b062ce1e9cddab87a66a2aedc8b64e4e8524d9f
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/20553
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2017-08-20 21:15:55 +00:00
..
Makefile.inc Add support to map the contents of a file 2017-06-06 17:59:50 +02:00
hw-file.c posix file: Add an `Offset` parameter and make `Len` optional 2017-08-20 21:15:55 +00:00