On 7 February 2016 at 23:28, Jean-Christophe DUBOIS <[email protected]> 
wrote:

>> Consider doing this with a set of subregions inside a container,
>> rather than an if-elseif chain.
>
>
> Could you point me to an example device using such technique?

hw/cpu/a9mpcore.c sets up a bunch of subregions. You don't
need to have them be actual separate devices like that code
does though -- just create a container region, and a region
for each of analog, a region for ccm, etc, and put those
in the container.

thanks
-- PMM

Reply via email to