[Qemu-devel] [PATCH 11/17] lm32: system control model

2011-02-17 Thread Michael Walle
This patch add support for a system control block. It is supposed to act as helper for the emulated program. E.g. shutting down the VM or printing test results. This model is intended for testing purposes only and doesn't fit to any real hardware. Therefore, it is not added to any board by default.

Re: [Qemu-devel] [PATCH 11/17] lm32: system control model

2011-02-11 Thread Blue Swirl
On Sat, Feb 12, 2011 at 12:35 AM, Michael Walle wrote: > Am Freitag 11 Februar 2011, 22:03:40 schrieb Blue Swirl: >> > +static int lm32_sys_init(SysBusDevice *dev) >> > +{ >> > +    LM32SysState *s = FROM_SYSBUS(typeof(*s), dev); >> > +    int sys_regs; >> > + >> > +    sys_regs = cpu_register_io_

Re: [Qemu-devel] [PATCH 11/17] lm32: system control model

2011-02-11 Thread Michael Walle
Am Freitag 11 Februar 2011, 22:03:40 schrieb Blue Swirl: > > +static int lm32_sys_init(SysBusDevice *dev) > > +{ > > +LM32SysState *s = FROM_SYSBUS(typeof(*s), dev); > > +int sys_regs; > > + > > +sys_regs = cpu_register_io_memory(sys_read_fn, sys_write_fn, s, > > +DEVICE_NAT

Re: [Qemu-devel] [PATCH 11/17] lm32: system control model

2011-02-11 Thread Blue Swirl
On Fri, Feb 11, 2011 at 1:12 AM, Michael Walle wrote: > This patch add support for a system control block. It is supposed to > act as helper for the emulated program. E.g. shutting down the VM or > printing test results. This model is intended for testing purposes only and > doesn't fit to any rea

[Qemu-devel] [PATCH 11/17] lm32: system control model

2011-02-10 Thread Michael Walle
This patch add support for a system control block. It is supposed to act as helper for the emulated program. E.g. shutting down the VM or printing test results. This model is intended for testing purposes only and doesn't fit to any real hardware. Therefore, it is not added to any board by default.

[Qemu-devel] [PATCH 11/17] lm32: system control model

2011-01-30 Thread Michael Walle
This patch add support for a system control block. It is supposed to act as helper for the emulated program. E.g. shutting down the VM or printing test results. This model is intended for testing purposes only and doesn't fit to any real hardware. Therefore, it is not added to any board by default.