Can't mmap the top 1MB of /dev/mem?

Pavel Roskin proski at gnu.org
Fri Jun 23 06:24:58 EST 2000


Hello, Mark!

>    if ( (off+len-1) < off )
> 	return EINVAL;

It's done this way in Linux-2.2.14 :-)

> It works on the G3?  Perhaps the compiler/processor difference is getting
> you into some of the 64-bit register goofiness or a slightly different
> code sequence that does something different w/ the overflow flag.  Just
> guessing here.

Absolutely no "64-bit register goofiness" :-)))

Pavel


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list