xscale documentation: vector table handling
commit7682877c8ca59226f7131db5fe35253acf117bb4
authorMike Dunn <mikedunn@newsguy.com>
Mon, 2 Aug 2010 19:50:29 +0000 (2 12:50 -0700)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 2 Aug 2010 20:39:48 +0000 (2 22:39 +0200)
tree5db8570a570953a8d28530319119b2b92c379dc0
parentbfa34f88f8b77596d6f70be446708a3f5a604e9b
xscale documentation: vector table handling

Hi everyone.  I noticed some incorrect information in the user manual
regarding how the vector table is handled on the xscale, so for your
consideration, here's a short patch that corrects it, and adds a
little more detail I thought might be helpful.

The documentation states that OpenOCD does not attempt to synchronize
the vector tables in memory with those stored in the "mini instruction
cache".  In fact, on each resume it does copy from memory to the cache
all entries in the high and low tables that were not previously
defined using the 'xscale vector_table' command. (In
src/target/xscale.c, see xscale_update_vectors(), which is invoked by
xscale_resume().)  I take advantage of this during Linux boot-up.  The
extra detail describes in general terms how I do this.

Corrections, comments are of course gratefully received.

Thanks,
Mike

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
doc/openocd.texi