patch - KGDB read and write of IO registers

Frank Rowand frank_rowand at
Sat Dec 22 09:49:47 EST 2001


Please apply the attached patch to linuxppc_2_4_devel.

The patch allows IO device registers to be accessed by KGDB via word
(or halfword) loads and stores for word (or halfword) sized objects
when naturally aligned.  The previous behaviour was to always do
byte load and stores which can result in side effects when accessing
an IO device register.

A second fix in the patch is to pass the correct address to
flush_icache_range() when writing to memory in hex2mem().


Frank Rowand <frank_rowand at>
MontaVista Software, Inc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_getput_iospace.gz
Type: application/x-gzip
Size: 1042 bytes
Desc: not available
URL: <>

More information about the Linuxppc-dev mailing list