mmap64/open64/pread etc on 440GX
Mark Powell
medp at primagraphics.co.uk
Thu Nov 11 21:57:35 EST 2004
FWIW, the attached might help.
This is something I added to our 2.4.25 (10-May-04) tree to allow me do
the same thing on our '440GP platform.
The patch adds a file to arch/ppc/mm that provides an
io_remap_page_range64() function, analogous to ioremap64().
drv_mmap.c is the body of the mmap() entry point in my driver for an
example.
Hope it is useful
--
Mark Powell, Senior Software Engineer
Primagraphics, Curtiss-Wright Controls Embedded Computing
Tel: +44 (0) 1763 852222
Email: medp at primagraphics.com
Neil Wilson wrote:
>
>
>
>>I'm working on some patches to fix 36-bit support for
>>io_remap_page_range() and to fix some problems with set_pte()
>>and friends on 36-bit platforms. This is the first bit
>>necessary to make this work at all in 2.6. I should be
>>posting something RSN. ;)
>>
>>-Matt
>>
>>
>
>Okay, thanks for the info.
>
>Guess I will have to put together a simple kernel driver so the hardware
>boys can get 36bit access for now.
>
>Neil
>
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mm.patch
Url: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20041111/2caac4dc/attachment.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: drv_mmap.c
Url: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20041111/2caac4dc/attachment-0001.txt
More information about the Linuxppc-embedded
mailing list