src/sim/bfin ChangeLog dv-bfin_sic.c

vapier@sourceware.org vapier@sourceware.org
Thu Mar 24 03:11:00 GMT 2011


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



More information about the Gdb-cvs mailing list