/dev/mem contains physical memory addresses?

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

 



Hi list,

I read that the /dev/mem represents the memory of the system.

1) Does that mean I can if start reading from /dev/mem, I can read any
portion of the memory?

2) If I read at offset "n" in the file /dev/mem, would I be reading
contents of the PHYSICAL memory address "n", or the VIRTUAL memory
addtress "n"?

Thanks,

Dan.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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