qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC v3 06/10] ESP: add pseudo-DMA as used by Macintosh


From: Laurent Vivier
Subject: Re: [Qemu-devel] [RFC v3 06/10] ESP: add pseudo-DMA as used by Macintosh
Date: Thu, 28 Jun 2018 10:27:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Le 28/06/2018 à 10:13, Paolo Bonzini a écrit :
> On 28/06/2018 01:29, Laurent Vivier wrote:
>>      int32_t ti_size;
>> @@ -46,6 +47,11 @@ struct ESPState {
>>      ESPDMAMemoryReadWriteFunc dma_memory_write;
>>      void *dma_opaque;
>>      void (*dma_cb)(ESPState *s);
>> +    uint8_t pdma_buf[32];
>> +    uint32_t pdma_len;
>> +    uint8_t *pdma_start;
>> +    uint8_t *pdma_cur;
>> +    void (*pdma_cb)(ESPState *s);
>>  };
> 
> I suppose migration of ESP is completely busted, since we're not
> migrating dma_cb?  This patch is not making it any better, but perhaps
> at least pdma_start and pdma_cur could be indices instead of pointers.

Thank you, I will try that.

Laurent



reply via email to

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