qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

target/xtensa: drop num_[core_]regs from dc232b/dc233c configs

Now that xtensa_count_regs does the right thing, remove manual
initialization of these fields from the affected configurations and let
xtensa_finalize_config initialize them. Add XTREG_END to terminate
register lists.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

+2 -4
-2
target/xtensa/core-dc232b.c
··· 40 40 static XtensaConfig dc232b __attribute__((unused)) = { 41 41 .name = "dc232b", 42 42 .gdb_regmap = { 43 - .num_regs = 120, 44 - .num_core_regs = 52, 45 43 .reg = { 46 44 #include "core-dc232b/gdb-config.inc.c" 47 45 }
+1
target/xtensa/core-dc232b/gdb-config.inc.c
··· 259 259 0, 0, 0, 0, 0, 0) 260 260 XTREG(119, 476, 32, 4, 4, 0x000f, 0x0006, -2, 8, 0x0100, a15, 261 261 0, 0, 0, 0, 0, 0) 262 + XTREG_END
-2
target/xtensa/core-dc233c.c
··· 40 40 static XtensaConfig dc233c __attribute__((unused)) = { 41 41 .name = "dc233c", 42 42 .gdb_regmap = { 43 - .num_regs = 121, 44 - .num_core_regs = 52, 45 43 .reg = { 46 44 #include "core-dc233c/gdb-config.inc.c" 47 45 }
+1
target/xtensa/core-dc233c/gdb-config.inc.c
··· 143 143 XTREG(118, 472, 32, 4, 4, 0x000d, 0x0006, -2, 8, 0x0100, a13, 0, 0, 0, 0, 0, 0) 144 144 XTREG(119, 476, 32, 4, 4, 0x000e, 0x0006, -2, 8, 0x0100, a14, 0, 0, 0, 0, 0, 0) 145 145 XTREG(120, 480, 32, 4, 4, 0x000f, 0x0006, -2, 8, 0x0100, a15, 0, 0, 0, 0, 0, 0) 146 + XTREG_END