From mboxrd@z Thu Jan 1 00:00:00 1970 From: kipade@163.com (kipade) Date: Thu, 7 Dec 2017 15:09:39 +0800 (CST) Subject: What happened when the user space application accesss device registers via mapped memory on /dev/mem? Message-ID: <3bdea75e.77f5.1602fceef72.Coremail.kipade@163.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi all, I want to know the details of device(not physical ram device) registers via mapped memory on /dev/mem. For example, a Soc CPU has some internal device register resources, the driver will map the memory block to a virtual memory to kernel. But, the user application can use /dev/mem to access it(devmem2). I want to know why? and what's happened on the backend? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20171207/cb57e01d/attachment.html