This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/sim/bfin ChangeLog dv-bfin_sic.c
- From: vapier at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 24 Mar 2011 03:11:08 -0000
- Subject: src/sim/bfin ChangeLog dv-bfin_sic.c
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2011-03-24 03:11:08
Modified files:
sim/bfin : ChangeLog dv-bfin_sic.c
Log message:
sim: bfin: fix thinko in SIC pin encoding
When encoding the SIC/pin info into unique input port ids, I used bases
of 100 when I meant to use 0x100. Rather than simply fix the decoding
math in the different functions, create a few helper macros to simplify
the SIC/pin encoding and decoding steps. This makes the resulting tables
nice & clear.
And now that pins are clear, the 533 and 537 port_event handlers may
easily be merged into one.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/bfin/ChangeLog.diff?cvsroot=src&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/bfin/dv-bfin_sic.c.diff?cvsroot=src&r1=1.3&r2=1.4