[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [patch] add byteordered types
From: |
M. Warner Losh |
Subject: |
Re: [Qemu-devel] [patch] add byteordered types |
Date: |
Wed, 27 Aug 2008 08:47:38 -0600 (MDT) |
In message: <address@hidden>
Gerd Hoffmann <address@hidden> writes:
: Paul Brook wrote:
: > On Wednesday 27 August 2008, Gerd Hoffmann wrote:
: >> +static inline le16 write_le16(uint16_t cpu) \
: >
: > This is IMHO a bad name for this function. It doesn't write anything.
:
: I'm not that happy the name too and certainly open for better
: suggestions I could use instead of read/write.
:
: The alternatives I can think of are not very nice either:
:
: (1) get/set -- same problem as read/write.
: (2) make_foo() instead of write_foo() -- "make" is too generic IMHO.
: (3) create_foo() instead of write_foo() -- no nice symmetric
: replacement for read_foo().
:
: better ideas anyone?
Using the existing names that linux/FreeBSD/NetBSD/OpenBSD are using?
Warner
- [Qemu-devel] [patch] add byteordered types, Gerd Hoffmann, 2008/08/27
- 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 <=
- 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, 2008/08/28
- Re: [Qemu-devel] [patch] add byteordered types, Jamie Lokier, 2008/08/27