Revision 4be403c8 hw/rtl8139.c

b/hw/rtl8139.c
774 774
#define MIN_BUF_SIZE 60
775 775
static inline dma_addr_t rtl8139_addr64(uint32_t low, uint32_t high)
776 776
{
777
#if TARGET_PHYS_ADDR_BITS > 32
778
    return low | ((target_phys_addr_t)high << 32);
779
#else
780
    return low;
781
#endif
777
    return low | ((uint64_t)high << 32);
782 778
}
783 779

  
784 780
/* Workaround for buggy guest driver such as linux who allocates rx

Also available in: Unified diff