Am 30.01.2012 03:14, schrieb Anthony Liguori:
> On 01/29/2012 07:25 AM, Andreas Färber wrote:
>> +static TypeInfo cpu_type_info = {
>> +.name = TYPE_CPU,
>> +.parent = TYPE_OBJECT,
>> +.instance_size = sizeof(CPU),
>
>
> Probably want to do CPUState or something of that nature so that
Am 30.01.2012 03:14, schrieb Anthony Liguori:
> On 01/29/2012 07:25 AM, Andreas Färber wrote:
>> +static TypeInfo cpu_type_info = {
>> +.name = TYPE_CPU,
>> +.parent = TYPE_OBJECT,
>> +.instance_size = sizeof(CPU),
>
>
> Probably want to do CPUState or something of that nature so that
On 01/29/2012 07:25 AM, Andreas Färber wrote:
It's abstract, derived directly from TYPE_OBJECT (to avoid dependency
on MODULE_INIT_DEVICE) and for now is empty.
Place it in hw/. Have user emulators pick it up via VPATH, building it
per target since they didn't use any qdev/QOM devices so far.
I
It's abstract, derived directly from TYPE_OBJECT (to avoid dependency
on MODULE_INIT_DEVICE) and for now is empty.
Place it in hw/. Have user emulators pick it up via VPATH, building it
per target since they didn't use any qdev/QOM devices so far.
Introduce processor_init() for registering, and c