qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v5 2/4] exynos4210: Added SD host controller mod


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v5 2/4] exynos4210: Added SD host controller model
Date: Tue, 17 Jul 2012 16:04:22 +0100

On 17 July 2012 15:58, Igor Mitsyanko <address@hidden> wrote:
> On 07/17/2012 05:37 PM, Peter Maydell wrote:
>> I would suggest two functions:
>>
>> int sdhci_slotint(SDHCIState *s)
>> which just calculates and returns the external interrupt line state
>> (might be able to make this 'static'), and

> Ok, but I'd rather make sdhci_slotint() return uint8_t, to emphasize that
> this function returns a value of hardware SLOTINT register.

That's fine; the thing I want to avoid is having by-hand updates
of slotint all over the code.

-- PMM



reply via email to

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