From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYnnk-0003yx-9E for qemu-devel@nongnu.org; Thu, 28 Aug 2008 16:09:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYnnh-0003y6-Ku for qemu-devel@nongnu.org; Thu, 28 Aug 2008 16:09:03 -0400 Received: from [199.232.76.173] (port=52032 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYnnh-0003xz-GO for qemu-devel@nongnu.org; Thu, 28 Aug 2008 16:09:01 -0400 Received: from an-out-0708.google.com ([209.85.132.245]:12535) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYnng-00026b-Qb for qemu-devel@nongnu.org; Thu, 28 Aug 2008 16:09:01 -0400 Received: by an-out-0708.google.com with SMTP id d18so86854and.130 for ; Thu, 28 Aug 2008 13:08:59 -0700 (PDT) Message-ID: <48B705AB.2060702@codemonkey.ws> Date: Thu, 28 Aug 2008 15:08:11 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 1/4] add byteordered types to qemu. References: <1219912589-12476-1-git-send-email-kraxel@redhat.com> In-Reply-To: <1219912589-12476-1-git-send-email-kraxel@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Is there a 4/4 in the series? Regards, Anthony Liguori Gerd Hoffmann wrote: > Signed-off-by: Gerd Hoffmann > --- > bswap.h | 7 +++++++ > hw/usb-net.c | 2 -- > 2 files changed, 7 insertions(+), 2 deletions(-) > > diff --git a/bswap.h b/bswap.h > index 523d805..b294d96 100644 > --- a/bswap.h > +++ b/bswap.h > @@ -206,4 +206,11 @@ static inline void cpu_to_be32wu(uint32_t *p, uint32_t v) > #undef le_bswaps > #undef be_bswaps > > +typedef uint16_t le16; > +typedef uint32_t le32; > +typedef uint64_t le64; > +typedef uint16_t be16; > +typedef uint32_t be32; > +typedef uint64_t be64; > + > #endif /* BSWAP_H */ > diff --git a/hw/usb-net.c b/hw/usb-net.c > index 27dea10..447c0ce 100644 > --- a/hw/usb-net.c > +++ b/hw/usb-net.c > @@ -326,8 +326,6 @@ enum { > #define OID_PNP_REMOVE_WAKE_UP_PATTERN 0xfd010104 > #define OID_PNP_ENABLE_WAKE_UP 0xfd010106 > > -typedef uint32_t le32; > - > typedef struct rndis_init_msg_type { > le32 MessageType; > le32 MessageLength; >