On X86:
# cat /proc/iomem
00000000-0008efff : System RAM
0008f000-0008ffff : reserved
00090000-0009dfff : System RAM
0009e000-0009ffff : reserved
000a0000-000bffff : Video RAM area
000f0000-000fffff : System ROM
00100000-bf5befff : System RAM
00100000-0040f325 : Kernel code
0040f326-0058d81f : Kernel data
005e0000-0069fd2f : Kernel bss
bf5bf000-bf77efff : reserved
bf77f000-bf7cefff : ACPI Non-volatile Storage
bf7cf000-bf7fefff : ACPI Tables
bf7ff000-bf7fffff : System RAM
c0000000-c42fffff : PCI Bus 0000:03
c0000000-c42fffff : PCI Bus 0000:04
c0000000-c3ffffff : physmap-flash.0
c0000000-c3ffffff : 0000:04:04.0
c0000000-c3ffffff : physmap-flash.0
c4000000-c41fffff : 0000:04:04.0
c4200000-c42001ff : 0000:04:04.0
c4400000-c45fffff : PCI Bus 0000:02
c4400000-c45fffff : 0000:02:00.0
c4600000-c46fffff : PCI Bus 0000:03
c4600000-c460ffff : 0000:03:00.0
c4700000-c47fffff : PCI Bus 0000:01
c4700000-c477ffff : 0000:01:00.0
c4800000-c48fffff : PCI Bus 0000:01
c4800000-c481ffff : 0000:01:00.0
c4820000-c483ffff : 0000:01:00.4
c4820000-c483ffff : igb
c4840000-c485ffff : 0000:01:00.3
c4840000-c485ffff : igb
c4860000-c487ffff : 0000:01:00.2
c4860000-c487ffff : igb
c4880000-c489ffff : 0000:01:00.1
c4880000-c489ffff : igb
c48a0000-c48a3fff : 0000:01:00.0
c48a4000-c48a7fff : 0000:01:00.4
c48a4000-c48a7fff : igb
c48a8000-c48abfff : 0000:01:00.3
c48a8000-c48abfff : igb
c48ac000-c48affff : 0000:01:00.2
c48ac000-c48affff : igb
c48b0000-c48b3fff : 0000:01:00.1
c48b0000-c48b3fff : igb
c4900000-c49000ff : 0000:00:1f.3
c4902000-c49027ff : 0000:00:1f.7
c4903000-c49033ff : 0000:00:1f.7
c4904000-c490407f : 0000:00:1f.7
c4905000-c4905fff : 0000:00:1f.4
c4906000-c49067ff : 0000:00:1f.2
c4906000-c49067ff : ahci
c4907000-c49073ff : 0000:00:1d.0
c4907000-c49073ff : ehci_hcd
f8000000-fbffffff : PCI MMCONFIG 0
f80f8000-f80f8fff : reserved
fed00000-fed003ff : HPET 0
fed10000-fed17fff : pnp 00:08
fed18000-fed18fff : pnp 00:08
fed19000-fed19fff : pnp 00:08
fed1c000-fed1ffff : reserved
fed20000-fed3ffff : pnp 00:08
fed45000-fed8ffff : pnp 00:08
fed90000-fed93fff : pnp 00:08
fee00000-feefffff : pnp 00:08
fee00000-fee00fff : Local APIC
fff60000-fff6ffff : reserved
100000000-23fffffff : System RAM
For 16-bit IO port address:
bash-3.2# cat /proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0064-0064 : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
03f8-03ff : serial
0400-0453 : pnp 00:05
0400-0403 : ACPI PM1a_EVT_BLK
0404-0405 : ACPI PM1a_CNT_BLK
0408-040b : ACPI PM_TMR
0420-042f : ACPI GPE0_BLK
0450-0450 : ACPI PM2_CNT_BLK
0454-0457 : pnp 00:07
0458-047f : pnp 00:05
0500-057f : pnp 00:05
0500-057f : lpc_gpio
0680-069f : pnp 00:05
0cf8-0cff : PCI conf1
1000-100f : pnp 00:05
164e-164f : pnp 00:05
2000-2fff : PCI Bus 0000:03
2000-2fff : PCI Bus 0000:04
2000-20ff : 0000:04:04.0
3000-3fff : PCI Bus 0000:01
3000-307f : 0000:01:00.4
3080-30ff : 0000:01:00.3
3100-317f : 0000:01:00.2
3180-31ff : 0000:01:00.1
4020-403f : 0000:00:1f.2
4020-403f : ahci
4040-4047 : 0000:00:1f.2
4040-4047 : ahci
4048-404f : 0000:00:1f.2
4048-404f : ahci
4050-4053 : 0000:00:1f.2
4050-4053 : ahci
4054-4057 : 0000:00:1f.2
4054-4057 : ahci
efa0-efbf : 0000:00:1f.3
efa0-efaf : i801-smbus
ffff-ffff : pnp 00:05
ffff-ffff : pnp 00:05
Refer to this link for further reading.
On PowerPC:
~# cat /proc/iomem
e0000000-e003ffff : fsl-immr.1
e0000200-e00002ff : fsl-watchdog.1
e0000c00-e0000cff : fsl-gpio.1
e0003000-e00030ff : fsl-i2c.1
e0003100-e00031ff : fsl-i2c.2
e0004500-e0004507 : serial
e0004600-e0004607 : serial
e0024000-e0024fff : fsl-gianfar.1
e0024520-e002453f : fsl-gianfar_mdio.0
e0025000-e0025fff : fsl-gianfar.2
No comments:
Post a Comment