aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-08-28 15:27:23 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-04 09:37:32 -0500
commit439bcb61c514ecc5ca198893e0fd5ebdf67bc97a (patch)
treebd6e41e576bc1d1fe22b4de0bd306fb5deae56f9
parent55f81d963bfb3ce18170ac0af9d5401358a0b7b1 (diff)
monitor: Drop unused macros
GET_TLONG() and GET_TPHYSADDR() are not needed anymore, QInt can handle such conversions. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--monitor.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/monitor.c b/monitor.c
index b27bcbc45b..c612c11014 100644
--- a/monitor.c
+++ b/monitor.c
@@ -786,12 +786,6 @@ static void memory_dump(Monitor *mon, int count, int format, int wsize,
}
}
-#if TARGET_LONG_BITS == 64
-#define GET_TLONG(h, l) (((uint64_t)(h) << 32) | (l))
-#else
-#define GET_TLONG(h, l) (l)
-#endif
-
static void do_memory_dump(Monitor *mon, const QDict *qdict)
{
int count = qdict_get_int(qdict, "count");
@@ -802,12 +796,6 @@ static void do_memory_dump(Monitor *mon, const QDict *qdict)
memory_dump(mon, count, format, size, addr, 0);
}
-#if TARGET_PHYS_ADDR_BITS > 32
-#define GET_TPHYSADDR(h, l) (((uint64_t)(h) << 32) | (l))
-#else
-#define GET_TPHYSADDR(h, l) (l)
-#endif
-
static void do_physical_memory_dump(Monitor *mon, const QDict *qdict)
{
int count = qdict_get_int(qdict, "count");