[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTi=VS34cbaH9TNA9aZ7mVavoTaAiAwMfuRXSxbd8@mail.gmail.com>
Date: Fri, 17 Sep 2010 19:33:08 +0530
From: naveen yadav <yad.naveen@...il.com>
To: Christoph Lameter <cl@...ux.com>,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
robm@...tmail.fm, linux-kernel@...r.kernel.org,
Bron Gondwana <brong@...tmail.fm>,
linux-mm <linux-mm@...ck.org>, Mel Gorman <mel@....ul.ie>
Subject: Issue in using mmap on ARM target
Hi all,
I am facing one issue when executing below progmra on ARM target. The
same program work well on X86 host machine,
When execute on Host(x86). the result are as expected.
[root@...alhost naveen]# ./a.out 0000 b 2
/dev/mem opened.
Memory mapped at address 0xb7f00000.
Value at address 0x0 (0xb7f00000): 0x24
Written 0x2; readback 0x2
But when execute on Target:
# ./a.out 0 w 20
/dev/mem opened.
Memory mapped at address 0x40003000.
Value at address 0x0 (0x40003000): 0xEA000006
Written 0x14; readback 0xEA000006
#
The value does not change. any idea ....
Kind regards
Download attachment "devmem2.c" of type "application/octet-stream" (3551 bytes)
Powered by blists - more mailing lists