qemu-trivial
[Top][All Lists]
Advanced

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

Re: [Qemu-trivial] [Qemu-devel] [PATCH] hw/sd: move sdhci.h to include/h


From: Li Guang
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] hw/sd: move sdhci.h to include/hw
Date: Thu, 26 Dec 2013 08:40:27 +0800
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.16) Gecko/20120421 Iceape/2.0.11

Peter Maydell wrote:
On 26 December 2013 00:22, Li Guang<address@hidden>  wrote:
Peter Maydell wrote:
On 25 December 2013 07:21, liguang<address@hidden>   wrote:
This is where your patch should have had an explanation
for why you're making this change. What is the user outside
of hw/sd/ that needs this header that means we should
move it into include/ ?
I don't mean someone will include it outside of hw/sd, just in the
sense of "header files be better in a directory called include",
QEMU's policy is that header files used only by other C files within
that directory can live in that directory; include is for headers which
define functions to be used between modules.

A10's SDHC(really an odd controller, without public datasheet) emulation
will use some of definitions in this file, and I think many other standard
SDHC will also be happy to include this file.
I think all of these will live inside hw/sd so there's no need to move
the header.


OK, thanks!




reply via email to

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