On Tue, Sep 21, 2010 at 10:21 PM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
Hi....
I was thinking, it could be that /dev/mem is made as "read only" in
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.
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