• On some Sparc32 machines, fdc is located above 4G limit, so uint32_t is not
    appropriate type for io_base.
    
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
     
    Browse Code »
  • Move the qdev_init(dev); call after the setting of d->size.
    Thanks to Filip Navara.
    
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
     
    Browse Code »
  • The header sys-queue.h must be #included early, otherwise at some point OS
    queue macros will be used. On OpenBSD, those don't define TAILQ_FOREACH_SAFE.
    
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
     
    Browse Code »
  • Minor TCG cleanups and warning fixes for ARM hosts.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
     
    Browse Code »
  • /usr/include/alsa/pcm.h contains:
    
    #define snd_pcm_sw_params_alloca(ptr) do { assert(ptr); *ptr = (snd_pcm_sw_params_t *) alloca(snd_pcm_sw_params_sizeof()); memset(*ptr, 0, snd_pcm_sw_params_sizeof()); } while (0)
    
    The assert generates: "error: the address of 'sw_params' will always
    evaluate as 'true'" which combined with -Werror prevents alsaaudio.o
    from being built with certain versions of GCC.
    malc authored
     
    Browse Code »