]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: Standardize instance_init and realize function names
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 21 Mar 2018 04:30:13 +0000 (15:30 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 27 Apr 2018 08:05:22 +0000 (18:05 +1000)
commite850da556d69363e6846ab00ddcbf7cb55203981
treedb98573f78482a014c20bdaaaecc73fcb7831624
parentb2692d5fed8b0549d70426d75c9ad4734dc557c8
target/ppc: Standardize instance_init and realize function names

Because of the various hooks called some variant on "init" - and the rather
greater number that used to exist, I'm always wondering when a function
called simply "*_init" or "*_initfn" will be called.

To make it easier on myself, and maybe others, rename the instance_init
hooks for ppc cpus to *_instance_init().  While we're at it rename the
realize time hooks to *_realize() (from *_realizefn()) which seems to be
the more common current convention.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
target/ppc/translate_init.c