1. Mar 31, 2019
  2. Mar 28, 2019
  3. Mar 27, 2019
  4. Feb 05, 2019
  5. Feb 04, 2019
  6. Oct 02, 2018
  7. Sep 20, 2018
  8. Sep 19, 2018
  9. Aug 27, 2018
  10. Apr 29, 2018
  11. Mar 30, 2018
  12. Mar 28, 2018
  13. Mar 17, 2018
  14. Mar 13, 2018
    • Prashanth Mundkur's avatar
      Decouple memif_t and htif_t. (#43) · 0d34fdbe
      Prashanth Mundkur authored
      Define a chunked_memif_t interface that serves memif_t, and is implemented by htif_t and htif_hexwriter.  This allows the use of memif_t without needing to bring in htif_t.
      0d34fdbe
  15. Mar 07, 2018
  16. Mar 06, 2018
  17. Feb 14, 2018
  18. Dec 13, 2017
  19. Dec 02, 2017
  20. Nov 19, 2017
    • Schuyler Eldridge's avatar
      Add legacy vector<string> htif constructor · 4f656847
      Schuyler Eldridge authored
      
      
      This retains the legacy htif_t constructor using a vector of string to
      pass command line arguments.
      
      Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@gmail.com>
      4f656847
    • Schuyler Eldridge's avatar
      Cleanup, add argumentless htif_t constructor · 7a8c8c31
      Schuyler Eldridge authored
      
      
      Does some minor cleanup of usage formatting.
      
      Adds a htif_t() constructor that does not do argument parsing. This is
      needed for something like `elf2hex` which wants to pass no arguments
      to htif_t.
      
      Note: `elf2hex` is currently non-working on master and not as a result
      of this.
      
      Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@gmail.com>
      7a8c8c31
    • Schuyler Eldridge's avatar
      Change htif_t API, use getopt for option parsing · d8956c8f
      Schuyler Eldridge authored
      This changes the `htif_t` constructor to use getopt for option parsing
      adding support for POSIX-like `--` long options while preserving
      support for "legacy" `+` args. The options supported by `htif_t` are
      exposed to programs importing the `htif.h` header.
      
      This results in a change of the `htif_t` and `dtm_t` constructor APIs
      so that it can directly process command line arguments. Previously
      the `htif_t` constructor was:
        htif_t::htif_t(const std::vector<std::string>& target_args)
      Now it is:
        htif_t::htif_t(int argc, char** argv)
      
      As `htif_t` is a secondary consumer of command line arguments (e.g.,
      it is constructed after the rocket-chip emulator), the options
      supported by `htif_t` are exposed via three new macros in `htif_t.h`:
        * HTIF_USAGE_OPTIONS -- usage string suitable to be appended to any
          program that will pass arguments to `htif_t`
        * HTIF_LONG_OPTIONS_OPTIND -- Base val for `htif_t` options
        * HTIF_LONG_OPTIONS -- `struct option` fragment for `htif_t`. All
          options index starting from `HTIF_LONG_OPTIONS_OPTIND`.
      
      Support for the currently unsupported option `+disk` now raises an
      exception.
      
      Space is provided for non-standard options which may be exposed to
      `htif_t`. Currently only the VCS options of the form `-cm XXX` are
      ignored.
      d8956c8f
    • Schuyler Eldridge's avatar
      Fix incorrect chroot failures message · 44ba2768
      Schuyler Eldridge authored
      This fixes the `syscall_t::set_chroot` method so that it will write
      out the location that it failed to chroot to, `where,` as opposed to
      the unset attribtue `chroot`.
      44ba2768
  21. Jul 04, 2017
  22. Jun 29, 2017
  23. Jun 15, 2017
    • Megan Wachs's avatar
      DTM: Start all Harts (#33) · 01932a71
      Megan Wachs authored
      * dtm: Start all harts at _start, not just hart 0
      
      * DTM: additional cleanup for halt/resume different harts
      
      * dtm: Proper enumeration
      01932a71
  24. May 26, 2017
  25. May 18, 2017
  26. May 02, 2017
  27. Mar 31, 2017
  28. Mar 30, 2017