Hello, Andrey,

> In order to allow access to second half of address space on 64-bit
> machines, add code that creates /dev/highmem dedicated for that.
> 
> Note that due to maximum file size being limited to MAX_LFS_FILESIZE
> or 0x7fff_ffff_ffff_ffff bytes at addresses 0x7fff_ffff_ffff_ffff and
> 0xffff_ffff_ffff_ffff cannot be access through /dev/mem and
> /dev/hightmem correspondingly.

Does it imply using `-s /dev/highmem` argument when accessing addresses beyond 
MAX_LFS_FILESIZE? That's not very convenient:

        $ git grep -l /dev/mem
        commands/crc.c
        commands/digest.c
        commands/disasm.c
        commands/md.c
        commands/memcmp.c
        commands/memcpy.c
        commands/memset.c
        commands/mm.c
        commands/mw.c

Regards,
Peter

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to