On 6 August 2015 at 23:07, Pavel Dovgalyuk <pavel.dovga...@ispras.ru> wrote:
> Hello!
>
> What is the best way of emulating memory region with incomplete decoding of
> address?
> E.g., when 2k RAM is mapped on every 2k'th offset of 16-bit machine.
>
> I figured out two possible solutions:
> - manually create many region's aliases
> - somehow modify the MemoryRegion to support aliases duplicating
>
> Is there another way?

So far we've used two approaches for this kind of thing:
 (1) manually create aliases and map them into a container
 (2) ignore the problem since guests in practice don't try
     to use the mirrored parts of the region

If neither of these seem palatable I don't think there's a
problem in principle in providing better support for this
somehow; it's fairly common.

thanks
-- PMM

Reply via email to