[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH qom-cpu for-1.4] target-m68k: Use type_register(
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH qom-cpu for-1.4] target-m68k: Use type_register() instead of type_register_static() |
Date: |
Mon, 28 Jan 2013 14:41:09 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2 |
Am 27.01.2013 19:35, schrieb Andreas Färber:
> According to its documentation, type_register_static()'s TypeInfo
> argument should exist for the life type of the type.
> Therefore use type_register() when registering the list of CPU subtypes.
>
> No functional change with the current implementation.
>
> Cf. 918fd0839eeafc83bd4984364321a947d29041fe for arm.
>
> Signed-off-by: Andreas Färber <address@hidden>
Applied this along with the or32 and uc32 counterparts to qom-cpu:
https://github.com/afaerber/qemu-cpu/commits/qom-cpu
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg