[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [patch] add byteordered types
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [patch] add byteordered types |
Date: |
Thu, 28 Aug 2008 10:36:04 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080723) |
Anthony Liguori wrote:
> Yeah, AFAIK, it's the only way to enforce this sort of thing but it's
> also ugly. If we were starting from scratch, I could see the value in
> it but there's already a ton of code that's not going to be using this
> mechanism that noone is going to convert. That makes me think there
> isn't going to be a lot of value in it and will lead to a lot of overall
> confusion.
Ok, I'll drop the whole struct and accessors stuff and resend with
simple typedefs instead. So you can use le* and be* types, but it
basically is a documentation thing without gcc actually checking stuff.
And the existing cpu_to_* macros will do just fine ;)
cheers,
Gerd
Re: [Qemu-devel] [patch] add byteordered types, Paul Brook, 2008/08/27
- Re: [Qemu-devel] [patch] add byteordered types, Gerd Hoffmann, 2008/08/27
- Re: [Qemu-devel] [patch] add byteordered types, M. Warner Losh, 2008/08/27
- Re: [Qemu-devel] [patch] add byteordered types, Gerd Hoffmann, 2008/08/27
- Re: [Qemu-devel] [patch] add byteordered types, Anthony Liguori, 2008/08/27
- Re: [Qemu-devel] [patch] add byteordered types, Gerd Hoffmann, 2008/08/27
- Re: [Qemu-devel] [patch] add byteordered types, Anthony Liguori, 2008/08/27
- Re: [Qemu-devel] [patch] add byteordered types,
Gerd Hoffmann <=
- Re: [Qemu-devel] [patch] add byteordered types, Jamie Lokier, 2008/08/27