From: Avi Kivity <avi@qumranet.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [patch 1/2] add pci config space struct
Date: Tue, 26 Aug 2008 17:55:06 +0300 [thread overview]
Message-ID: <48B4194A.20107@qumranet.com> (raw)
In-Reply-To: <48B40E60.8090203@redhat.com>
Gerd Hoffmann wrote:
>> Shouldn't little-endian types be used here to force the users to use
>> little-endian accessors?
>>
>
> Didn't notice qemu has that. Which header file I should check? There
> is nothing in bswap.h ...
>
I don't think qemu has them; it should though.
I'd define le32 (and friends) as a struct to ensure it is impossible to
misuse.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2008-08-26 14:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-26 10:40 [Qemu-devel] [patch 1/2] add pci config space struct Gerd Hoffmann
2008-08-26 12:25 ` Avi Kivity
2008-08-26 14:08 ` Gerd Hoffmann
2008-08-26 14:55 ` Avi Kivity [this message]
2008-08-27 10:52 ` Gerd Hoffmann
2008-08-27 12:08 ` Paul Brook
2008-08-27 13:17 ` Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48B4194A.20107@qumranet.com \
--to=avi@qumranet.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.