xscale bugfix to handler loading
commit8b3bfcfc5be85b7004b1d2453cb42a518c24e605
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 11 Oct 2009 17:06:08 +0000 (11 10:06 -0700)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 11 Oct 2009 17:06:08 +0000 (11 10:06 -0700)
tree575a28c0e54f96e5fbf385e66514df77fc0e2a3f
parent5aba621b55ec2faee018b7c3427413399d0291b2
xscale bugfix to handler loading

Just fill out the rest of the cache line with NOPs; don't change
the record of how much data we consumed.  Otherwise the count of
how much data is left can roll over from positive to negative
("VERY positive") and skip the loop termination of zero.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/xscale.c