From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2pec-0004WN-1r for qemu-devel@nongnu.org; Fri, 26 Jul 2013 17:34:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2peZ-0003pt-56 for qemu-devel@nongnu.org; Fri, 26 Jul 2013 17:34:25 -0400 Received: from cantor2.suse.de ([195.135.220.15]:46360 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2peY-0003pK-Ss for qemu-devel@nongnu.org; Fri, 26 Jul 2013 17:34:23 -0400 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 61E02A535B for ; Fri, 26 Jul 2013 23:34:22 +0200 (CEST) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Fri, 26 Jul 2013 23:34:01 +0200 Message-Id: <1374874454-15549-2-git-send-email-afaerber@suse.de> In-Reply-To: <1374874454-15549-1-git-send-email-afaerber@suse.de> References: <1374874454-15549-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH qom-next for-1.6 01/14] arm_l2x0: Rename l2x0_state to L2x0State List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= Signed-off-by: Andreas F=C3=A4rber --- hw/misc/arm_l2x0.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/hw/misc/arm_l2x0.c b/hw/misc/arm_l2x0.c index 3d6acee..f3ce477 100644 --- a/hw/misc/arm_l2x0.c +++ b/hw/misc/arm_l2x0.c @@ -23,7 +23,7 @@ /* L2C-310 r3p2 */ #define CACHE_ID 0x410000c8 =20 -typedef struct l2x0_state { +typedef struct L2x0State { SysBusDevice busdev; MemoryRegion iomem; uint32_t cache_type; @@ -33,19 +33,19 @@ typedef struct l2x0_state { uint32_t tag_ctrl; uint32_t filter_start; uint32_t filter_end; -} l2x0_state; +} L2x0State; =20 static const VMStateDescription vmstate_l2x0 =3D { .name =3D "l2x0", .version_id =3D 1, .minimum_version_id =3D 1, .fields =3D (VMStateField[]) { - VMSTATE_UINT32(ctrl, l2x0_state), - VMSTATE_UINT32(aux_ctrl, l2x0_state), - VMSTATE_UINT32(data_ctrl, l2x0_state), - VMSTATE_UINT32(tag_ctrl, l2x0_state), - VMSTATE_UINT32(filter_start, l2x0_state), - VMSTATE_UINT32(filter_end, l2x0_state), + VMSTATE_UINT32(ctrl, L2x0State), + VMSTATE_UINT32(aux_ctrl, L2x0State), + VMSTATE_UINT32(data_ctrl, L2x0State), + VMSTATE_UINT32(tag_ctrl, L2x0State), + VMSTATE_UINT32(filter_start, L2x0State), + VMSTATE_UINT32(filter_end, L2x0State), VMSTATE_END_OF_LIST() } }; @@ -55,7 +55,7 @@ static uint64_t l2x0_priv_read(void *opaque, hwaddr off= set, unsigned size) { uint32_t cache_data; - l2x0_state *s =3D (l2x0_state *)opaque; + L2x0State *s =3D (L2x0State *)opaque; offset &=3D 0xfff; if (offset >=3D 0x730 && offset < 0x800) { return 0; /* cache ops complete */ @@ -97,7 +97,7 @@ static uint64_t l2x0_priv_read(void *opaque, hwaddr off= set, static void l2x0_priv_write(void *opaque, hwaddr offset, uint64_t value, unsigned size) { - l2x0_state *s =3D (l2x0_state *)opaque; + L2x0State *s =3D (L2x0State *)opaque; offset &=3D 0xfff; if (offset >=3D 0x730 && offset < 0x800) { /* ignore */ @@ -137,7 +137,7 @@ static void l2x0_priv_write(void *opaque, hwaddr offs= et, =20 static void l2x0_priv_reset(DeviceState *dev) { - l2x0_state *s =3D DO_UPCAST(l2x0_state, busdev.qdev, dev); + L2x0State *s =3D DO_UPCAST(L2x0State, busdev.qdev, dev); =20 s->ctrl =3D 0; s->aux_ctrl =3D 0x02020000; @@ -155,7 +155,7 @@ static const MemoryRegionOps l2x0_mem_ops =3D { =20 static int l2x0_priv_init(SysBusDevice *dev) { - l2x0_state *s =3D FROM_SYSBUS(l2x0_state, dev); + L2x0State *s =3D FROM_SYSBUS(L2x0State, dev); =20 memory_region_init_io(&s->iomem, OBJECT(dev), &l2x0_mem_ops, s, "l2x0_cc", 0x1000); @@ -164,7 +164,7 @@ static int l2x0_priv_init(SysBusDevice *dev) } =20 static Property l2x0_properties[] =3D { - DEFINE_PROP_UINT32("cache-type", l2x0_state, cache_type, 0x1c100100)= , + DEFINE_PROP_UINT32("cache-type", L2x0State, cache_type, 0x1c100100), DEFINE_PROP_END_OF_LIST(), }; =20 @@ -183,7 +183,7 @@ static void l2x0_class_init(ObjectClass *klass, void = *data) static const TypeInfo l2x0_info =3D { .name =3D "l2x0", .parent =3D TYPE_SYS_BUS_DEVICE, - .instance_size =3D sizeof(l2x0_state), + .instance_size =3D sizeof(L2x0State), .class_init =3D l2x0_class_init, }; =20 --=20 1.8.1.4