On 21 December 2011 22:39, Mark Langsdorf <mark.langsd...@calxeda.com> wrote:
> I have code for a board model that uses it, but it uses the pre-
> MemoryRegion API including direct calls to
> cpu_register_physical_memory() and qemu_ram_alloc(). I can't
> submit it until I get it updated. Any suggestions for a good
> example of converting a board model from one API to the other?

Just look for a board which does the same sort of things yours
does and then look for Avi's 'convert to memory API' patch in
its git commit log. Eg e6d17b056de for hw/vexpress.c.

-- PMM

Reply via email to