|
| From: | Avi Kivity |
| Subject: | Re: [Qemu-devel] [RFC v3 31/56] ac97: convert to memory API |
| Date: | Mon, 11 Jul 2011 02:49:48 -0400 (EDT) |
>
> Shouldn't it be possible to do something like:
>
> typedef struct OldMemoryRegionOps {
> MemoryRegionOps parent_ops;
> CPUReadMemoryFunc *readfn[3];
> CPUWriteMemoryFunc *writefn[3];
> void *opaque;
> } OldMemoryRegionOps;
>
> That should allow old-style implementations to be converted without
> introducing trampoline functions everywhere.
>
I should, I'll give it a go.
| [Prev in Thread] | Current Thread | [Next in Thread] |