diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-24 03:11:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-24 03:11:08 +0000 |
commit | e4a861d14b17b35b165f0f71db04993dcfdaceba (patch) | |
tree | 8514cb9f2de4b4226fea5996d9748e7e28656a99 /sim/erc32/README.sis | |
parent | 8d8a97461a121e02ae2f11f3e6147d68432ee02d (diff) | |
download | gdb-e4a861d14b17b35b165f0f71db04993dcfdaceba.zip gdb-e4a861d14b17b35b165f0f71db04993dcfdaceba.tar.gz gdb-e4a861d14b17b35b165f0f71db04993dcfdaceba.tar.bz2 |
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>
Diffstat (limited to 'sim/erc32/README.sis')
0 files changed, 0 insertions, 0 deletions