
Dear Vadim,
in message f608b67d0704101648v320fba98n7c815d2427ee73aa@mail.gmail.com you wrote:
I have a question regarding this file(include/ppc_defs.h)
Woiw. You managed to find a file in U-Boot that has never been touched since the initial checkin to the (by then) PPCBoot tree (well, actually there was a modification - I added a GPL header about 7 years ago :-)
This file has the following comment in it:
/*
- WARNING! This file is automatically generated - DO NOT EDIT!
*/
but it clearly is not autogenerated in u-boot, It must have been picked up in Linux at some point in the past.
Right. It used to get created by a make rule in the 2.4 Linux kernel tree (see arch/ppc/kernel/Makefile).
I actually need to change it (have the exception register set include a couple of extra registers; {C}SRR0 and {C}SRR1) - can I just edit it or is there a more complicated procedure?
Please feel free to clean it up - remove unused #define's and add what you need. Please also remove the "DO NOT EDIT" comment.
Best regards,
Wolfgang Denk