1. 06 9月, 2011 2 次提交
  2. 04 9月, 2011 5 次提交
  3. 03 9月, 2011 2 次提交
    • S
      Use new macro QEMU_PACKED for packed structures · 541dc0d4
      Stefan Weil 提交于
      Most changes were made using these commands:
      
      git grep -la '__attribute__((packed))'|xargs perl -pi -e 's/__attribute__\(\(packed\)\)/QEMU_PACKED/'
      git grep -la '__attribute__ ((packed))'|xargs perl -pi -e 's/__attribute__ \(\(packed\)\)/QEMU_PACKED/'
      git grep -la '__attribute__((__packed__))'|xargs perl -pi -e 's/__attribute__\(\(__packed__\)\)/QEMU_PACKED/'
      git grep -la '__attribute__ ((__packed__))'|xargs perl -pi -e 's/__attribute__ \(\(__packed__\)\)/QEMU_PACKED/'
      git grep -la '__attribute((packed))'|xargs perl -pi -e 's/__attribute\(\(packed\)\)/QEMU_PACKED/'
      
      Whitespace in linux-user/syscall_defs.h was fixed manually
      to avoid warnings from scripts/checkpatch.pl.
      
      Manual changes were also applied to hw/pc.c.
      
      I did not fix indentation with tabs in block/vvfat.c.
      The patch will show 4 errors with scripts/checkpatch.pl.
      Signed-off-by: NStefan Weil <weil@mail.berlios.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      541dc0d4
    • S
      Add new macro QEMU_PACKED for packed C structures · 0f7fdd34
      Stefan Weil 提交于
      A packed struct needs different gcc attributes for compilations
      with MinGW compilers because glib-2.0 adds compiler flag
      -mms-bitfields which modifies the packing algorithm.
      
      Attribute gcc_struct reverses the negative effects of -mms-bitfields.
      QEMU_PACKED sets this attribute and must be used for any packed
      struct which is affected by -mms-bitfields.
      Signed-off-by: NStefan Weil <weil@mail.berlios.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      0f7fdd34
  4. 02 9月, 2011 12 次提交
  5. 01 9月, 2011 16 次提交
  6. 30 8月, 2011 2 次提交
  7. 29 8月, 2011 1 次提交