1. 06 Feb, 2018 2 commits
  2. 05 Feb, 2018 3 commits
  3. 28 Jan, 2018 8 commits
  4. 27 Jan, 2018 5 commits
  5. 05 Nov, 2017 6 commits
    • Henrique de Moraes Holschuh's avatar
      iucode_tool(8): document changes to --scan-system · 99a0a85d
      Henrique de Moraes Holschuh authored
      Document the new --scan-system behavior as well as its modes of
      operation in the manpage.
      99a0a85d
    • Henrique de Moraes Holschuh's avatar
      iucode_tool: select scan-system strategy change at runtime · b97d0909
      Henrique de Moraes Holschuh authored
      Instead of selecting the scan-system strategy at compile time, enhance
      the long-version of the --scan-system option to take an optional
      argument, and select the strategy.
      
      Available strategies are: 0 (auto), 1 (fast), and 2 (exact).  Fast uses
      just the cpuid instruction and activates all steppings.  Exact will
      query all processors using the kernel cpuid driver.  Auto (the default)
      is currently the same as fast.
      
      The short option -S is equivalent to --scan-system=auto.  This way, we
      don't break backwards command line behavior, and something like
      "iucode_tool -Sl" will still work.
      
      In --scan-system=exact mode, when a /dev/cpu/#/cpuid scan fails, it will
      use the result from the cpuid instruction and also add every other
      stepping for any signatures found before the failure.  This goes well
      beyond the required, since it actually means iucode_tool supports
      multi-signature systems in --scan-system=exact mode...
      b97d0909
    • Henrique de Moraes Holschuh's avatar
      gitignore: rearrange, and ignore backup and vim swap files · 0d14ade7
      Henrique de Moraes Holschuh authored
      * Add comments
      * Reorder so that iucode-tool-specific objects are all together
      * Add backup (*~) and vim swap (*.swp) files to .gitignore.
      0d14ade7
    • Henrique de Moraes Holschuh's avatar
      iucode_tool: move scan_system_processor() one layer down · f626ff7a
      Henrique de Moraes Holschuh authored
      scan_system_processor() should be able to fill in any filter list,
      so give it the filter list it should modify as a parameter, moving
      the hardcoding of the use of uc_filter_list to its caller.
      f626ff7a
    • Henrique de Moraes Holschuh's avatar
      iucode_tool: do not scan-system while parsing · 75eb1d8e
      Henrique de Moraes Holschuh authored
      Instead of processing -s and -S/--scan-system while parsing, queue all
      filters so that we can call scan_system_processors() later.  This was
      the only complex operation that was being carried out while parsing the
      command line.
      
      This change ensures that global options such as -q and -v, that are not
      supposed to be sensitive to their position in the command line, will
      work as expected.
      75eb1d8e
    • Henrique de Moraes Holschuh's avatar
      iucode_tool: add two command-line parser helpers · ab9e562d
      Henrique de Moraes Holschuh authored
      Add two command-line parser helpers:
       * cmdline_get_int() to parse integer parameters;
       * cmdline_get_enumstr() to parse named parameters;
      
      The helpers work with the notion of a default value which is left
      untouched when arg is null (so they handle an optional arg) or when
      parsing fails.
      ab9e562d
  6. 29 Aug, 2017 1 commit
  7. 28 Aug, 2017 10 commits
  8. 26 Aug, 2017 3 commits
  9. 19 Jun, 2017 1 commit
  10. 22 May, 2017 1 commit