[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 03/17] target/ppc: Move 40x CPUs code to their own file
From: |
Fabiano Rosas |
Subject: |
Re: [PATCH 03/17] target/ppc: Move 40x CPUs code to their own file |
Date: |
Wed, 02 Mar 2022 10:37:31 -0300 |
BALATON Zoltan <balaton@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 <farosas@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!
- [PATCH 00/17] target/ppc: CPU families split, Fabiano Rosas, 2022/03/01
- [PATCH 01/17] target/ppc: Add a tracepoint for System Calls, Fabiano Rosas, 2022/03/01
- [PATCH 03/17] target/ppc: Move 40x CPUs code to their own file, Fabiano Rosas, 2022/03/01
- [PATCH 06/17] target/ppc: Move 74xx CPUs code to their own file, Fabiano Rosas, 2022/03/01
- [PATCH 04/17] target/ppc: Move 6xx CPUs code to their own file, Fabiano Rosas, 2022/03/01
- [PATCH 07/17] target/ppc: Move BookE CPUs code to their own file, Fabiano Rosas, 2022/03/01
- [PATCH 05/17] target/ppc: Move 7xx CPUs code to their own file, Fabiano Rosas, 2022/03/01
- [PATCH 08/17] target/ppc: Move BookS CPUs to their own file, Fabiano Rosas, 2022/03/01
- [PATCH 09/17] target/ppc: Remove leftover comments from cpu_init, Fabiano Rosas, 2022/03/01
- [PATCH 10/17] target/ppc: Expose some excp_helper functions, Fabiano Rosas, 2022/03/01
- [PATCH 14/17] target/ppc: Move powerpc_excp_74xx into cpu_74xx.c, Fabiano Rosas, 2022/03/01
- [PATCH 13/17] target/ppc: Move powerpc_excp_7xx into cpu_7xx.c, Fabiano Rosas, 2022/03/01
- [PATCH 17/17] target/ppc: Move powerpc_excp* to the PowerPCCPU Class, Fabiano Rosas, 2022/03/01