Hi Andreas, Thank you for very good example.
It looks like I've made CONFIG_TCG_PASS_AREG0 and QOM OK in my v3 patches. May you review it? On Thu, Jun 7, 2012 at 8:53 AM, Andreas Färber <afaer...@suse.de> wrote: > Hi Jia, > > Am 30.05.2012 11:29, schrieb Jia Liu: >> Since target-or32 is a new target, I would like to implement it in QOM >> way. Is there a good QOM example I can refer to? > > You could peek at my target-rl78 that I've started redoing in a QOM way > and with CONFIG_TCG_PASS_AREG0: > > https://github.com/afaerber/qemu-rl78/commits/rl78 > > The original target-78k0 is on rl78.preqom branch for comparison. > > Other than that we have no "model" target, since all in-tree targets > carry baggage from pre-QOM times. > > Regards, > Andreas > > -- > SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany > GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg Regards, Jia.