Hi Marek,
On Wed, 22 Sept 2021 at 20:09, Tom Rini wrote:
>
> On Wed, Aug 18, 2021 at 09:40:31PM -0600, Simon Glass wrote:
>
> > It is useful to map a file into memory so that it can be accessed using
> > simple pointers. Add a function to support this.
> >
> > Signed-off-by: Simon Glass
>
> Appl
On Wed, Aug 18, 2021 at 09:40:31PM -0600, Simon Glass wrote:
> It is useful to map a file into memory so that it can be accessed using
> simple pointers. Add a function to support this.
>
> Signed-off-by: Simon Glass
Applied to u-boot/next, thanks!
--
Tom
signature.asc
Description: PGP sign
On Wed, 18 Aug 2021 21:40:31 -0600
Simon Glass wrote:
> It is useful to map a file into memory so that it can be accessed using
> simple pointers. Add a function to support this.
>
> Signed-off-by: Simon Glass
> +int os_map_file(const char *pathname, int os_flags, void **bufp, int *sizep)
> +{
It is useful to map a file into memory so that it can be accessed using
simple pointers. Add a function to support this.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/os.c | 29 +
include/os.h | 13 +
2 files changed, 42 insertions(+)
diff --g
4 matches
Mail list logo