|
@@ -1223,7 +1223,13 @@ static void pnv_chip_power9_intc_destroy(PnvChip *chip, PowerPCCPU *cpu)
|
|
static void pnv_chip_power9_intc_print_info(PnvChip *chip, PowerPCCPU *cpu,
|
|
static void pnv_chip_power9_intc_print_info(PnvChip *chip, PowerPCCPU *cpu,
|
|
Monitor *mon)
|
|
Monitor *mon)
|
|
{
|
|
{
|
|
- xive_tctx_pic_print_info(XIVE_TCTX(pnv_cpu_state(cpu)->intc), mon);
|
|
|
|
|
|
+ g_autoptr(GString) buf = g_string_new("");
|
|
|
|
+ g_autoptr(HumanReadableText) info = NULL;
|
|
|
|
+
|
|
|
|
+ xive_tctx_pic_print_info(XIVE_TCTX(pnv_cpu_state(cpu)->intc), buf);
|
|
|
|
+
|
|
|
|
+ info = human_readable_text_from_str(buf);
|
|
|
|
+ monitor_puts(mon, info->human_readable_text);
|
|
}
|
|
}
|
|
|
|
|
|
static void pnv_chip_power10_intc_create(PnvChip *chip, PowerPCCPU *cpu,
|
|
static void pnv_chip_power10_intc_create(PnvChip *chip, PowerPCCPU *cpu,
|
|
@@ -1267,7 +1273,13 @@ static void pnv_chip_power10_intc_destroy(PnvChip *chip, PowerPCCPU *cpu)
|
|
static void pnv_chip_power10_intc_print_info(PnvChip *chip, PowerPCCPU *cpu,
|
|
static void pnv_chip_power10_intc_print_info(PnvChip *chip, PowerPCCPU *cpu,
|
|
Monitor *mon)
|
|
Monitor *mon)
|
|
{
|
|
{
|
|
- xive_tctx_pic_print_info(XIVE_TCTX(pnv_cpu_state(cpu)->intc), mon);
|
|
|
|
|
|
+ g_autoptr(GString) buf = g_string_new("");
|
|
|
|
+ g_autoptr(HumanReadableText) info = NULL;
|
|
|
|
+
|
|
|
|
+ xive_tctx_pic_print_info(XIVE_TCTX(pnv_cpu_state(cpu)->intc), buf);
|
|
|
|
+
|
|
|
|
+ info = human_readable_text_from_str(buf);
|
|
|
|
+ monitor_puts(mon, info->human_readable_text);
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
/*
|