Revision 439bcb61 monitor.c

b/monitor.c
786 786
    }
787 787
}
788 788

  
789
#if TARGET_LONG_BITS == 64
790
#define GET_TLONG(h, l) (((uint64_t)(h) << 32) | (l))
791
#else
792
#define GET_TLONG(h, l) (l)
793
#endif
794

  
795 789
static void do_memory_dump(Monitor *mon, const QDict *qdict)
796 790
{
797 791
    int count = qdict_get_int(qdict, "count");
......
802 796
    memory_dump(mon, count, format, size, addr, 0);
803 797
}
804 798

  
805
#if TARGET_PHYS_ADDR_BITS > 32
806
#define GET_TPHYSADDR(h, l) (((uint64_t)(h) << 32) | (l))
807
#else
808
#define GET_TPHYSADDR(h, l) (l)
809
#endif
810

  
811 799
static void do_physical_memory_dump(Monitor *mon, const QDict *qdict)
812 800
{
813 801
    int count = qdict_get_int(qdict, "count");

Also available in: Unified diff