LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   /proc/iomen vs /proc/ioports (https://www.linuxquestions.org/questions/linux-kernel-70/proc-iomen-vs-proc-ioports-882568/)

julio_jeorje 05-25-2011 12:55 AM

/proc/iomen vs /proc/ioports
 
Hi,
what is the difference between iomem and ioports.

thanks and regards.

archieval 05-25-2011 03:49 AM

The output of /proc/ioports provides a list of currently registered port regions used for input or output communication with a device. The first column gives the I/O port address range reserved for the device listed in the second column.

The /proc/iomem shows you the current map of the system's memory for each physical device. The first column displays the memory registers used by each of the different types of memory. The second column lists the kind of memory located within those registers and displays which memory registers are used by the kernel within the system RAM or, if the network interface card has multiple Ethernet ports, the memory registers assigned for each port.

Reference: http://docs.redhat.com/docs/en-US/Re...ide/index.html

julio_jeorje 05-25-2011 10:45 PM

is the ioports memory mapped i/o addressed

archieval 05-27-2011 03:39 AM

Quote:

Originally Posted by julio_jeorje (Post 4367214)
is the ioports memory mapped i/o addressed

Nope.


All times are GMT -5. The time now is 04:23 AM.