2 * Cortex-A9MPCore internal peripheral emulation.
4 * Copyright (c) 2009 CodeSourcery.
5 * Written by Paul Brook
7 * This code is licensed under the GPL.
10 /* 64 external IRQ lines. */
14 static SysBusDeviceInfo mpcore_priv_info
= {
15 .init
= mpcore_priv_init
,
16 .qdev
.name
= "a9mpcore_priv",
17 .qdev
.size
= sizeof(mpcore_priv_state
),
18 .qdev
.props
= (Property
[]) {
19 DEFINE_PROP_UINT32("num-cpu", mpcore_priv_state
, num_cpu
, 1),
20 DEFINE_PROP_END_OF_LIST(),
24 static void a9mpcore_register_devices(void)
26 sysbus_register_withprop(&mpcore_priv_info
);
29 device_init(a9mpcore_register_devices
)