diff options
| author | Clément Léger <[email protected]> | 2025-01-23 15:58:05 +0100 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-02-13 09:16:05 +0530 |
| commit | 5ce121b7a102432492a279dd026e494640186483 (patch) | |
| tree | bf62f573f4696c94541b8e3a77a5862d01f82885 | |
| parent | 434add551c2a17cac3804ff0f587d31be03f070e (diff) | |
lib: sbi: increase the size of the string used for extension display
With the "max" QEMU cpu, the displayed extension string is truncated due
to the buffer being too small. Increase it to 256 to display the full
set of extensions correctly.
Signed-off-by: Clément Léger <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
| -rw-r--r-- | lib/sbi/sbi_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbi/sbi_init.c b/lib/sbi/sbi_init.c index 3f654c80..b47bc7ad 100644 --- a/lib/sbi/sbi_init.c +++ b/lib/sbi/sbi_init.c @@ -161,7 +161,7 @@ static void sbi_boot_print_domains(struct sbi_scratch *scratch) static void sbi_boot_print_hart(struct sbi_scratch *scratch, u32 hartid) { int xlen; - char str[128]; + char str[256]; const struct sbi_domain *dom = sbi_domain_thishart_ptr(); if (scratch->options & SBI_SCRATCH_NO_BOOT_PRINTS) |
