1. 25 Nov, 2009 5 commits
    • Zachary T Welch's avatar
      add 'testee' target type · 9d4c89f3
      Zachary T Welch authored
      Alliteration aside, this should provide the final piece of the puzzle
      for developers that want to get started writing a new target type.
      In this way, it also seeks to complement the 'dummy' interface driver
      and 'faux' NOR flash driver.
    • Zachary T Welch's avatar
      add jim_handler to command_registration · 17a9dea5
      Zachary T Welch authored
      Adding jim_handler field to command_registration allows removing the
      register_jim helper.  All command registrations now go through the
      register_command{,s}() functions.
    • Zachary T Welch's avatar
      remove target_type register_command callback · 66ee3034
      Zachary T Welch authored
      Uses chaining of command_registration structures to eliminate all
      target_type register_callback routines.  Exports the command_handler
      registration arrays for those target types that are used by others.
    • Zachary T Welch's avatar
      target: use register_commands() · 4e67912f
      Zachary T Welch authored
    • Zachary T Welch's avatar
      use COMMAND_REGISTER macro · 833e7f52
      Zachary T Welch authored
      Replaces direct calls to register_command() with a macro, to allow
      its parameters to be changed and callers updated in phases.
  2. 22 Nov, 2009 1 commit
  3. 20 Nov, 2009 1 commit
  4. 18 Nov, 2009 2 commits
  5. 17 Nov, 2009 4 commits
  6. 16 Nov, 2009 4 commits
    • Zachary T Welch's avatar
      fileio: improve API types · 51862bb9
      Zachary T Welch authored
      Use size_t instead of uint32_t when specifying file sizes.  Update all
      consumers up through the layers to use size_t when required.  These
      changes should be safe, but the higher-levels will need to be updated
      further to receive the intended benefits (i.e. large file support).
      Add error checking for fileio_read and file_write.  Previously, all
      errors were being silently ignored, so this change might cause some
      problems for some people in some cases.  However, it gives us the chance
      to handle any errors that do occur at higher-levels, rather than burying
      our heads in the sand.
    • Zachary T Welch's avatar
      struct fileio: improve member types · 69df712d
      Zachary T Welch authored
      Add const keyword to file url and cast to free().
      Make size an ssize_t and chase all format strings that use it.
    • Zachary T Welch's avatar
      rename CEIL as DIV_ROUND_UP · a94748ec
      Zachary T Welch authored
      Improves the name of this macro, moves it to types.h, and adds a block
      of Doxygen comments to describe what it does.
    • David Brownell's avatar
      target: don't implicitly include "breakpoint.h" · aa7c4496
      David Brownell authored
      Most files in the tree seem to have ended up including this,
      and *quite* needlessly ... only code implementing or using
      breakpoints actually needs these declarations.
      So take it out of the header files which included it, and put
      it in files which use it ... reduce needless interdependencies.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
  7. 15 Nov, 2009 2 commits
    • David Brownell's avatar
      target: make "examined" flag be per-target · 9ac7cdec
      David Brownell authored
      Previously this flag was stored in "target_type", so that for example
      if there were two ARM7TDMI targets in a scan chain, both would claim
      to have been examined although only the first one actually had its
      examine() method called.
      Move this state to where it should have been in the first place, and
      hide a method that didn't need exposure ... the flag is write-once.
      Provide some doxygen.  The examine() method is confusing, since it
      isn't separating one-time setup from the after-each-reset stuff.  And
      the ARM7/ARM9 version is, somewhat undesirably, not leaving the debug
      state alone after reset ... probably more of an issue for trace setup
      than for watchpoints and breakpoints.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    • Krzysztof Dziuba's avatar
      Fix for md* commands, similar to mw*. · c2edc790
      Krzysztof Dziuba authored
  8. 14 Nov, 2009 2 commits
  9. 13 Nov, 2009 19 commits