Re: Issue in using mmap on ARM target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Tue, Sep 21, 2010 at 10:21 PM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
Hi....

On Wed, Sep 22, 2010 at 01:01, vinit dhatrak <vinit.dhatrak@xxxxxxxxx> wrote:
> I guess this issue has something to do with '/dev/mem' being physical
> memory. The address may have different value when data is set and different
> data when value is read due to page swapping or copy-on-write. I am just
> taking wild guess here, please correct me if I am wrong.

I was thinking, it could be that /dev/mem is made as "read only" in
the architecture...or ...you're hitting memory region which is
protected.


then the program would have seg-faulted, no? 
 
--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux