aboutsummaryrefslogtreecommitdiff
path: root/target/hexagon/idef-parser
diff options
context:
space:
mode:
authorTaylor Simpson <tsimpson@quicinc.com>2023-04-27 15:59:53 -0700
committerTaylor Simpson <tsimpson@quicinc.com>2023-05-18 12:40:52 -0700
commit07540a28c7ecc5fb8cbb0522f3cdead5bcd6d191 (patch)
treeed4a4d7827f82e22326bbf5ee65ba7a12b6932de /target/hexagon/idef-parser
parent63efb6ab5601762a40a739f97328be69b6b89561 (diff)
downloadqemu-07540a28c7ecc5fb8cbb0522f3cdead5bcd6d191.zip
qemu-07540a28c7ecc5fb8cbb0522f3cdead5bcd6d191.tar.gz
qemu-07540a28c7ecc5fb8cbb0522f3cdead5bcd6d191.tar.bz2
Hexagon (target/hexagon) Add DisasContext arg to gen_log_reg_write
Add DisasContext arg to gen_log_reg_write_pair also Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230427230012.3800327-3-tsimpson@quicinc.com>
Diffstat (limited to 'target/hexagon/idef-parser')
-rw-r--r--target/hexagon/idef-parser/parser-helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/hexagon/idef-parser/parser-helpers.c b/target/hexagon/idef-parser/parser-helpers.c
index 8734218..09161e3 100644
--- a/target/hexagon/idef-parser/parser-helpers.c
+++ b/target/hexagon/idef-parser/parser-helpers.c
@@ -1318,7 +1318,7 @@ void gen_write_reg(Context *c, YYLTYPE *locp, HexValue *reg, HexValue *value)
value_m = rvalue_materialize(c, locp, &value_m);
OUT(c,
locp,
- "gen_log_reg_write(", &reg->reg.id, ", ",
+ "gen_log_reg_write(ctx, ", &reg->reg.id, ", ",
&value_m, ");\n");
}