We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5a4597 commit d136d16Copy full SHA for d136d16
application/baremetal/cpuinfo/main.c
@@ -251,7 +251,7 @@ void nuclei_cpuinfo(void)
251
printf(" IREGION:");
252
iregion_base = csr_mirgb & (~0x3FF);
253
printf(" %#lx", iregion_base);
254
- print_size(POWER_FOR_TWO(__RV_EXTRACT_FIELD(csr_mirgb, 0x1F << 1) - 1) * KB);
+ print_size(POWER_FOR_TWO(__RV_EXTRACT_FIELD(csr_mirgb, 0x3F << 1) - 1) * KB);
255
printf("\r\n");
256
printf(" Unit Size Address\r\n");
257
printf(" INFO 64KB %#lx\r\n", iregion_base + IREGION_IINFO_OFS);
0 commit comments