aboutsummaryrefslogtreecommitdiff
path: root/target/m68k/qregs.h.inc
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2022-10-26 01:50:04 +0200
committerLaurent Vivier <laurent@vivier.eu>2022-11-05 20:35:45 +0100
commit0f208a9747a700a4b63afc87d58da0c87f37e214 (patch)
tree4348af57f68bdd8863b182b95abe45bedd293085 /target/m68k/qregs.h.inc
parentba24456b93a205b728475d5f0880f3ec495e383a (diff)
target/m68k: Rename qregs.def -> qregs.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: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20221025235006.7215-2-philmd@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'target/m68k/qregs.h.inc')
-rw-r--r--target/m68k/qregs.h.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/m68k/qregs.h.inc b/target/m68k/qregs.h.inc
new file mode 100644
index 0000000000..1aadc622db
--- /dev/null
+++ b/target/m68k/qregs.h.inc
@@ -0,0 +1,10 @@
+DEFO32(PC, pc)
+DEFO32(SR, sr)
+DEFO32(CC_OP, cc_op)
+DEFO32(CC_X, cc_x)
+DEFO32(CC_C, cc_c)
+DEFO32(CC_N, cc_n)
+DEFO32(CC_V, cc_v)
+DEFO32(CC_Z, cc_z)
+DEFO32(MACSR, macsr)
+DEFO32(MAC_MASK, mac_mask)