BALATON Zoltan <bala...@eik.bme.hu> writes: > On Tue, 1 Mar 2022, Fabiano Rosas wrote: >> Affects the 405 CPU. >> >> This moves init_proc, init_excp and register_*sprs functions that are >> related to the 40x CPUs (currently only 405) into a separate file. >> >> Signed-off-by: Fabiano Rosas <faro...@linux.ibm.com> >> --- >> target/ppc/cpu_40x.c | 263 +++++++++++++++++++++++++++++++++++++++++ >> target/ppc/cpu_init.c | 250 --------------------------------------- >> target/ppc/meson.build | 1 + >> 3 files changed, 264 insertions(+), 250 deletions(-) >> create mode 100644 target/ppc/cpu_40x.c >> >> diff --git a/target/ppc/cpu_40x.c b/target/ppc/cpu_40x.c >> new file mode 100644 >> index 0000000000..4ed2cbc305 >> --- /dev/null >> +++ b/target/ppc/cpu_40x.c >> @@ -0,0 +1,263 @@ >> +/* >> + * CPU initialization for PowerPC 40x CPUs >> + * >> + * Copyright IBM Corp. 2022 > > I think you can't replace the copyright when moving code. You have to > retain the original header and maybe you can add your own if you change or > rewrite it. You can only drop old copyright it you've completely replaced > the content.
Well spotted, thanks!