qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [patch 1/2] add pci config space struct


From: Avi Kivity
Subject: Re: [Qemu-devel] [patch 1/2] add pci config space struct
Date: Tue, 26 Aug 2008 17:55:06 +0300
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]