- 13 Nov, 2009 13 commits
-
-
Zachary T Welch authored
Remove misleading typedef and redundant suffix from struct target_type.
-
Zachary T Welch authored
Remove misleading typedef and redundant suffix from struct trace.
-
Zachary T Welch authored
Remove misleading typedef and redundant suffix from struct breakpoint.
-
Zachary T Welch authored
Remove misleading typedef and redundant suffix from struct target_event_action.
-
Zachary T Welch authored
Remove misleading typedef and redundant suffix from struct debug_msg_receiver.
-
Zachary T Welch authored
Remove misleading typedef and redundant suffix from struct target_timer_callback.
-
Zachary T Welch authored
Remove misleading typedef and redundant suffix from struct target_event_callback.
-
Zachary T Welch authored
Remove misleading typedef and redundant suffix from struct working_area.
-
Zachary T Welch authored
Remove misleading typedef and redundant suffix from struct reg_cache.
-
Zachary T Welch authored
Remove misleading typedef and redundant suffix from struct watchpoint.
-
Zachary T Welch authored
Remove misleading typedef and redundant suffix from struct reg_param.
-
Zachary T Welch authored
Remove misleading typedef and redundant suffix from struct mem_param.
-
Zachary T Welch authored
Search and destroy the jtag_tap_t typedef. This also cleans up a layering violation, removing the declaration from types.h.
-
- 09 Nov, 2009 1 commit
-
-
Zachary T Welch authored
Removes 'extern' keyword from function prototypes and wraps long lines.
-
- 06 Nov, 2009 1 commit
-
-
David Brownell authored
Provide a cleaner way to handle single inheritance of targets in C, using the same model Linux does: structs containing other structs, un-nested via calls to a "container_of()" macro that are packaged in typesafe inline functions. Targets already use this containment idiom, but make it much more complicated because they un-nest using embedded "void *" pointers ... in chains of up to five per target, which is all pure needless complication. (Example: arm92x core, arm9tdmi, arm7_9, armv4_5 ... on top of the base "target" class.) Applying this scheme consistently simplifies things, and gets rid of many error-prone untyped pointers. It won't change any part of the type model though -- it just simplifies things. (And facilitates more cleanup later on.) Rule of thumb: where there's an X->arch_info void* pointer, access to that pointer can and should be removed. It may be convenient to set up pointers to some of the embedded structs; and shrink their current "*_common" names (annoyingly long). Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
- 03 Nov, 2009 1 commit
-
-
Øyvind Harboe authored
Fixed bug: if virtual address for working memory was not specified and MMU was enabled, then address 0 would be used. Require working address to be specified for both MMU enabled and disabled case. For some completely inexplicable reason this fixes the regression in svn 2646 for flash write in arm926ejs target. The logs showed that MMU was disabled in the case below: https://lists.berlios.de/pipermail/openocd-development/2009-November/011882.html Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 23 Oct, 2009 1 commit
-
-
Øyvind Harboe authored
-
- 21 Oct, 2009 1 commit
-
-
Øyvind Harboe authored
Defined target_write_memory() to be able to handle implementing breakpoints for read only ram(e.g. MMU write protected.
-
- 12 Oct, 2009 1 commit
-
-
Øyvind Harboe authored
-
- 08 Oct, 2009 1 commit
-
-
Øyvind Harboe authored
-
- 21 Sep, 2009 1 commit
-
-
dbrownell authored
files; omitted src/httpd git-svn-id: svn://svn.berlios.de/openocd/trunk@2742 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
- 30 Aug, 2009 1 commit
-
-
oharboe authored
git-svn-id: svn://svn.berlios.de/openocd/trunk@2650 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
- 17 Jul, 2009 1 commit
-
-
oharboe authored
git-svn-id: svn://svn.berlios.de/openocd/trunk@2549 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
- 28 Jun, 2009 1 commit
-
-
duane authored
git-svn-id: svn://svn.berlios.de/openocd/trunk@2409 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
- 23 Jun, 2009 3 commits
-
-
zwelch authored
- Replace '[ \t]*[)]' with ')'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2377 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
zwelch authored
- Replace '([ \t]*' with '('. git-svn-id: svn://svn.berlios.de/openocd/trunk@2376 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
zwelch authored
- Replace ')\(=\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(=\)(' with '\1 \2 ('. - Replace '\(\w\)\(=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2372 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
- 18 Jun, 2009 3 commits
-
-
zwelch authored
- Replace '\([^_]\)u32' with '\1uint32_t'. - Replace '^u32' with 'uint32_t'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2279 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
zwelch authored
- Replace '\([^_]\)u16' with '\1uint16_t'. - Replace '^u16' with 'uint16_t'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2277 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
zwelch authored
- Replace '\([^_]\)u8' with '\1uint8_t'. - Replace '^u8' with 'uint8_t'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2274 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
- 03 Jun, 2009 1 commit
-
-
zwelch authored
git-svn-id: svn://svn.berlios.de/openocd/trunk@2025 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
- 31 May, 2009 9 commits
-
-
zwelch authored
- Move definition of 'struct target_type_s' into new 'target_type.h' file. - Forward delclaration remains in target.h, with comment pointing to new file. - Replaces #define with #include in source files. git-svn-id: svn://svn.berlios.de/openocd/trunk@1971 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
zwelch authored
- Add DEFINE_TARGET_TYPE_S symbol in files that need it defined. - Forward declare 'struct target_type_s' only, unless that symbol is defined. git-svn-id: svn://svn.berlios.de/openocd/trunk@1969 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
zwelch authored
- replaces all calls to target->type->examine. git-svn-id: svn://svn.berlios.de/openocd/trunk@1968 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
zwelch authored
- replaces all calls to target->type->{add,remove}_{break,watch}point. git-svn-id: svn://svn.berlios.de/openocd/trunk@1967 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
zwelch authored
- replaces all accesses to target->type->name. - add documentation in target_s to warn not to access field directly. git-svn-id: svn://svn.berlios.de/openocd/trunk@1966 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
zwelch authored
- replaces all calls to target->type->step. git-svn-id: svn://svn.berlios.de/openocd/trunk@1965 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
zwelch authored
- replaces all calls to target->type->get_gdb_reg_list. - add documentation in target_s to warn not to invoke callback directly. git-svn-id: svn://svn.berlios.de/openocd/trunk@1964 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
zwelch authored
- replaces all calls to target->type->bulk_write_memory. - add documentation in target_s to warn not to invoke callback directly. git-svn-id: svn://svn.berlios.de/openocd/trunk@1963 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-
zwelch authored
- replace all checks of target->type->examined with target_was_examined(). - replace all setting of target->type->examined with target_set_examined(). - replace clearing of target->type->examined with target_reset_examined(). - add documentation in target_s to warn not to access field directly. git-svn-id: svn://svn.berlios.de/openocd/trunk@1962 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-