]> git.sur5r.net Git - openocd/commit
ARM: remove per-register malloc
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 19 Nov 2009 21:23:49 +0000 (13:23 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 19 Nov 2009 21:23:49 +0000 (13:23 -0800)
commit8f446fcf676e9cd13cf53d9946f0cae5d29a10ec
tree840321d1f6f90fc4b20b94a275a1c94307e18f82
parentcbc13187c315227c0cf8d85fb0b92d0ba4a10dab
ARM: remove per-register malloc

Just pre-allocate memory for the cached register value.
Shrinks heap overhead; increases locality-of-reference.

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