From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MduHf-0002Rb-Oh for qemu-devel@nongnu.org; Wed, 19 Aug 2009 19:09:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MduHa-0002NY-7l for qemu-devel@nongnu.org; Wed, 19 Aug 2009 19:09:34 -0400 Received: from [199.232.76.173] (port=49907 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MduHZ-0002NL-Ur for qemu-devel@nongnu.org; Wed, 19 Aug 2009 19:09:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19890) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MduHZ-0005ZU-Dt for qemu-devel@nongnu.org; Wed, 19 Aug 2009 19:09:29 -0400 From: Luiz Capitulino Date: Wed, 19 Aug 2009 20:07:51 -0300 Message-Id: <1250723280-3509-21-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1250723280-3509-1-git-send-email-lcapitulino@redhat.com> References: <1250723280-3509-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 20/29] monitor: Drop unused macros List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, avi@redhat.com GET_TLONG() and GET_TPHYSADDR() are not needed anymore, QInt can handle such conversions. Signed-off-by: Luiz Capitulino --- monitor.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/monitor.c b/monitor.c index eb6edd4..f5d4a46 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"); -- 1.6.4.67.gea5b1