patch - KGDB read and write of IO registers

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


Tom,

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().

Thanks!

-Frank
--
Frank Rowand <frank_rowand at mvista.com>
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: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20011221/48f40a8e/attachment.bin>


More information about the Linuxppc-dev mailing list