]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/qemu-xen.git/commit
openpic: fix timer address decoding
authorScott Wood <scottwood@freescale.com>
Mon, 21 Jan 2013 15:53:52 +0000 (15:53 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 25 Jan 2013 21:02:56 +0000 (22:02 +0100)
commit03274d44f655f7b822e845e79fa32b261cdb0774
tree682fbf16771bfd94a451315071c083f9dd4f57cd
parentf40c360c0da020a1a478f8e60dd205d7412bc315
openpic: fix timer address decoding

The timer memory range begins at 0x10f0, so that address 0x1120 shows
up as 0x30, 0x1130 shows up as 0x40, etc.  However, the address
decoding (other than TFRR) is not adjusted for this, causing the
wrong registers to be accessed.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/openpic.c