[PATCH] make devmem map only a single page at end of memory
Jörgen Pihlflyckt
jorgen.pihlflyckt at gmail.com
Tue Apr 13 11:35:16 UTC 2010
Hi!
I noticed that the devmem applet maps two consecutive pages of memory in order
to allow access to a (non-aligned) object that spans two pages. This is a
problem if we are working with the last page of memory because the next page
would wrap around to the first page of memory.
This patch makes devmem map only a single page if it is at the end of the
memory address space.
--
Jorgen.Pihlflyckt at ajeco.fi (040-5240412)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.16.0-devmem.patch
Type: text/x-diff
Size: 571 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100413/d1e96b5b/attachment.bin>
More information about the busybox
mailing list