aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/cppc
diff options
context:
space:
mode:
authorSamuel Holland <samuel.holland@sifive.com>2024-11-11 14:02:45 -0800
committerAnup Patel <anup@brainfault.org>2024-11-28 17:09:17 +0530
commitdf1c1000014049d95d65de831f9015a2dcf9fa34 (patch)
tree09ada6ab220ee86c1169a85777c32f2f2a6a1c47 /lib/utils/cppc
parent23ef9c5f00b81cffbbf7ff6894f241fad07ee4b7 (diff)
downloadopensbi-df1c1000014049d95d65de831f9015a2dcf9fa34.zip
opensbi-df1c1000014049d95d65de831f9015a2dcf9fa34.tar.gz
opensbi-df1c1000014049d95d65de831f9015a2dcf9fa34.tar.bz2
treewide: Make carray arrays const and NULL-terminated
This allows the compiler to generate significantly better code, because it does not have to maintain either the loop counter or loop limit. Plus there are half as many symbols to relocate. This also simplifies passing carray arrays to helper functions. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions