Re: [Qemu-devel] Emulating external registers

2017-04-06 Thread Peter Maydell
On 5 April 2017 at 22:03, Wu, Michael Y [US] (MS) wrote: > My current approach is to create a new MemoryRegion in the init function of > the g3beige source code (mac_oldworld.c). My idea is to set up some mmio to > certain address to represent those registers. For now I only care about > readin

[Qemu-devel] Emulating external registers

2017-04-05 Thread Wu, Michael Y [US] (MS)
Hi, I've been doing some bare metal programming using the powerpc system emulator. I was able to run some of my code using the g3beige system emulation. I am now currently trying emulate some external registers. Simply a powerpc address will be mapped to a register. My plan is to write a bare m