1. 28 9月, 2012 1 次提交
  2. 22 9月, 2012 2 次提交
  3. 16 9月, 2012 1 次提交
  4. 24 6月, 2012 1 次提交
  5. 22 6月, 2012 1 次提交
  6. 18 3月, 2012 1 次提交
  7. 17 3月, 2012 1 次提交
    • S
      w64: Fix data type of next_tb and tcg_qemu_tb_exec · 69784eae
      Stefan Weil 提交于
      next_tb is the numeric value of a tcg target (= QEMU host) address.
      
      Using tcg_target_ulong instead of unsigned long shows this and makes
      the code portable for hosts with an unusual size of long (w64).
      
      The type cast '(long)(next_tb & ~3)' was not needed (casting
      unsigned long to long does not change the bits, and nor does
      casting long to pointer for most (= all non w64) hosts.
      It is removed here.
      
      Macro or function tcg_qemu_tb_exec is used to set next_tb.
      The function also returns next_tb. Therefore tcg_qemu_tb_exec
      must return a tcg_target_ulong.
      Signed-off-by: NStefan Weil <sw@weilnetz.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      69784eae
  8. 15 3月, 2012 1 次提交
  9. 04 3月, 2012 1 次提交
    • S
      w64: Fix data type of parameters for flush_icache_range · f57a5160
      Stefan Weil 提交于
      flush_icache_range takes two address parameters which must be large
      enough to address any address of the host.
      
      For hosts with sizeof(unsigned long) == sizeof(void *), this patch
      changes nothing. All currently supported hosts fall into this category.
      
      For w64 hosts, sizeof(unsigned long) is 4 while sizeof(void *) is 8,
      so the use of tcg_target_ulong is needed for i386 and tci (the tcg
      targets which work with w64).
      Signed-off-by: NStefan Weil <sw@weilnetz.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      f57a5160
  10. 29 11月, 2011 1 次提交
  11. 15 11月, 2011 2 次提交
  12. 01 11月, 2011 1 次提交
    • S
      tcg: Add bytecode generator for tcg interpreter · 7316329a
      Stefan Weil 提交于
      Unlike other tcg target code generators, this one does not generate
      machine code for some cpu. It generates machine independent bytecode
      which is interpreted later.
      
      This allows running QEMU on any host.
      
      Interpreted bytecode is slower than direct execution of generated
      machine code.
      Signed-off-by: NStefan Weil <sw@weilnetz.de>
      7316329a