target: add target->type->has_mmu fn.
authorØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 27 Oct 2009 13:02:16 +0000 (14:02 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 5 Nov 2009 08:53:31 +0000 (09:53 +0100)
commitd269122f91efaf2f745424c215fabb758b7e7ea0
tree7e692e954a34ca07243ff9d9fc06db186f8c9fd1
parent972924b2ad4bb7da34e331d4854b5f3d3e9e7260
target: add target->type->has_mmu fn.

improve default target->read/write_phys_memory, produce
more sensible error messages if the mmu interface
functions have not been implemented yet vs. will
not be implemented(e.g. cortex m3).

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/target/cortex_m3.c
src/target/target.c
src/target/target_type.h