1. 20 1月, 2011 1 次提交
  2. 28 12月, 2010 1 次提交
  3. 21 12月, 2010 1 次提交
  4. 16 11月, 2010 1 次提交
  5. 30 10月, 2010 1 次提交
  6. 21 10月, 2010 13 次提交
  7. 14 10月, 2010 1 次提交
    • B
      i386: avoid a write only variable · 4581cbcd
      Blue Swirl 提交于
      Compiling with GCC 4.6.0 20100925 produced warnings:
      /src/qemu/target-i386/op_helper.c: In function 'switch_tss':
      /src/qemu/target-i386/op_helper.c:283:53: error: variable 'new_trap' set but not used [-Werror=unused-but-set-variable]
      
      Fix by adding a dummy cast so that the variable is not unused. Add also
      pointer to docs.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      4581cbcd
  8. 23 8月, 2010 2 次提交
  9. 21 8月, 2010 1 次提交
    • B
      Use ARRAY_SIZE macro · 66fe09ee
      Blue Swirl 提交于
      Replace array size calculations with ARRAY_SIZE macro.
      
      Implemented with this Coccinelle semantic patch, adapted from
      Linux kernel:
      @@
      type T;
      T[] E;
      @@
      
      - (sizeof(E)/sizeof(*E))
      + ARRAY_SIZE(E)
      
      @@
      type T;
      T[] E;
      @@
      
      - (sizeof(E)/sizeof(E[...]))
      + ARRAY_SIZE(E)
      
      @@
      type T;
      T[] E;
      @@
      
      - (sizeof(E)/sizeof(T))
      + ARRAY_SIZE(E)
      
      Some files (*-dis.c, tests/*) had to be filtered out.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      66fe09ee
  10. 25 7月, 2010 1 次提交
  11. 24 7月, 2010 1 次提交
  12. 03 7月, 2010 3 次提交
  13. 02 7月, 2010 3 次提交
  14. 01 7月, 2010 1 次提交
  15. 29 6月, 2010 6 次提交
  16. 28 6月, 2010 1 次提交
  17. 19 6月, 2010 2 次提交