frno7 / linux

Linux 2.2, 2.6, 3.x, 4.x and 5.x kernels for the PlayStation 2.
Other
92 stars 6 forks source link

Complete /proc/iomem #13

Open frno7 opened 5 years ago

frno7 commented 5 years ago

The PlayStation 2 bus address spaces are complex. A few regions are currently shown in /proc/iomem:

# cat /proc/iomem
00000000-01ffffff : System RAM
  00010000-003de25b : Kernel code
  003de25c-0053dfff : Kernel data
  00770000-0079686f : Kernel bss
11000000-11000fff : Vector unit 0 code
11004000-11004fff : Vector unit 0 data
11008000-1100bfff : Vector unit 1 code
1100c000-1100ffff : Vector unit 1 data
12000000-13ffffff : Graphics Synthesizer
14000040-1400004f : pata_ps2
1400005c-1400005d : pata_ps2
1c000000-1c1fffff : IOP RAM
1f801600-1f8016ff : USB OHCI
1fc00000-1fffffff : System ROM

Supply all regions, including mirrors and IOP regions available to the kernel.

Can some or all addresses be read or written via for example /dev/kmem or some such?

Commit 4043cd2240741bfff6205af242e80ac5db9a932d contains a bug fix whereby system ROM was indicated as system RAM.

Ravenslofty commented 5 years ago

The PS2 BIOS contains a mysterious area located around 1a000000-1a00000f, alongside some other areas.