target/tricore: Rename csfr.def -> csfr.h.inc
We use the .h.inc extension to include C headers. To be consistent with the rest of the codebase, rename the C headers using the .def extension. IDE/tools using our .editorconfig / .gitattributes will leverage this consistency. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20221025235006.7215-4-philmd@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
9cef8d9926
commit
5d756c82c9
@ -388,7 +388,7 @@ static inline void gen_mfcr(DisasContext *ctx, TCGv ret, int32_t offset)
|
|||||||
gen_helper_psw_read(ret, cpu_env);
|
gen_helper_psw_read(ret, cpu_env);
|
||||||
} else {
|
} else {
|
||||||
switch (offset) {
|
switch (offset) {
|
||||||
#include "csfr.def"
|
#include "csfr.h.inc"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -418,7 +418,7 @@ static inline void gen_mtcr(DisasContext *ctx, TCGv r1,
|
|||||||
gen_helper_psw_write(cpu_env, r1);
|
gen_helper_psw_write(cpu_env, r1);
|
||||||
} else {
|
} else {
|
||||||
switch (offset) {
|
switch (offset) {
|
||||||
#include "csfr.def"
|
#include "csfr.h.inc"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user