What is the meaning of the contents of / proc / ioports

I got weird text by "linking" the / proc / ioports file of my Linux server,

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc0
...

What I don’t understand is the front of each entry, look at the first entry, for example, does 31 (0x1f in hex) mean ports occupied by dma1? If this is true, I can’t imagine how many ports there are on the x86 processor, since I know that on an 8-bit MCU there are only a few 8-bit ports.

Can anyone detail the value of the x86 processor’s number and io ports?

+5
source share
2 answers

-, request_region. , -, , . request_region .

+5

/proc/ioports ioports, Linux , .

, io- 0070 - 007f RTC Linux.

, , , , , , , , .

0

All Articles