1. 11 9月, 2015 1 次提交
  2. 07 9月, 2015 2 次提交
  3. 27 8月, 2015 1 次提交
  4. 25 8月, 2015 3 次提交
  5. 15 8月, 2015 1 次提交
    • P
      exec: drop cpu_can_do_io, just read cpu->can_do_io · 414b15c9
      Paolo Bonzini 提交于
      After commit 626cf8f4 (icount: set can_do_io outside TB execution,
      2014-12-08), can_do_io is set to 1 if not executing code.  It is
      no longer necessary to make this assumption in cpu_can_do_io.
      
      It is also possible to remove the use_icount test, simply by
      never setting cpu->can_do_io to 0 unless use_icount is true.
      
      With these changes cpu_can_do_io boils down to a read of
      cpu->can_do_io.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      414b15c9
  6. 13 8月, 2015 1 次提交
  7. 06 8月, 2015 2 次提交
  8. 24 7月, 2015 1 次提交
  9. 09 7月, 2015 4 次提交
  10. 07 7月, 2015 2 次提交
  11. 06 7月, 2015 1 次提交
    • P
      Stop including qemu-common.h in memory.h · fba0a593
      Peter Maydell 提交于
      Including qemu-common.h from other header files is generally a bad
      idea, because it means it's very easy to end up with a circular
      dependency. For instance, if we wanted to include memory.h from
      qom/cpu.h we'd end up with this loop:
       memory.h -> qemu-common.h -> cpu.h -> cpu-qom.h -> qom/cpu.h -> memory.h
      
      Remove the include from memory.h. This requires us to fix up a few
      other files which were inadvertently getting declarations indirectly
      through memory.h.
      
      The biggest change is splitting the fprintf_function typedef out
      into its own header so other headers can get at it without having
      to include qemu-common.h.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-Id: <1435933104-15216-1-git-send-email-peter.maydell@linaro.org>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      fba0a593
  12. 01 7月, 2015 1 次提交
  13. 26 6月, 2015 5 次提交
  14. 19 6月, 2015 2 次提交
    • L
      semihosting: add --semihosting-config arg sub-argument · a59d31a1
      Leon Alrae 提交于
      Add new "arg" sub-argument to the --semihosting-config allowing the user
      to pass multiple input arguments separately. It is required for example
      by UHI semihosting to construct argc and argv.
      
      Also, update ARM semihosting to support new option (at the moment it is
      the only target which cares about arguments).
      
      If the semihosting is enabled and no semihosting args have been specified,
      then fall back to -kernel/-append. The -append string is split on whitespace
      before initializing semihosting.argv[1..n]; this is different from what
      QEMU MIPS machines' pseudo-bootloaders do (i.e. argv[1] contains the whole
      -append), but is more intuitive from UHI user's point of view and Linux
      kernel just does not care as it concatenates argv[1..n] into single cmdline
      string anyway.
      Signed-off-by: NLeon Alrae <leon.alrae@imgtec.com>
      Message-id: 1434643256-16858-3-git-send-email-leon.alrae@imgtec.com
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      a59d31a1
    • L
      semihosting: create SemihostingConfig structure and semihost.h · cfe67cef
      Leon Alrae 提交于
      Remove semihosting_enabled and semihosting_target and replace them with
      SemihostingConfig structure containing equivalent fields. The structure
      is defined in vl.c where it is actually set.
      
      Also introduce separate header file include/exec/semihost.h allowing to
      access semihosting config related stuff from target specific semihosting
      code.
      Signed-off-by: NLeon Alrae <leon.alrae@imgtec.com>
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1434643256-16858-2-git-send-email-leon.alrae@imgtec.com
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      cfe67cef
  15. 17 6月, 2015 1 次提交
  16. 15 6月, 2015 1 次提交
    • A
      linux-user: Allocate thunk size dynamically · 8be656b8
      Alexander Graf 提交于
      We store all struct types in an array of static size without ever
      checking whether we overrun it. Of course some day someone (like me
      in another, ancient ALSA enabling patch set) will run into the limit
      without realizing it.
      
      So let's make the allocation dynamic. We already know the number of
      structs that we want to allocate, so we only need to pass the variable
      into the respective piece of code.
      
      Also, to ensure we don't accidently overwrite random memory, add some
      asserts to sanity check whether a thunk is actually part of our array.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NRiku Voipio <riku.voipio@linaro.org>
      8be656b8
  17. 12 6月, 2015 1 次提交
  18. 11 6月, 2015 1 次提交
  19. 05 6月, 2015 9 次提交