diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi/sbi_hart.h | 2 | ||||
| -rw-r--r-- | include/sbi/sbi_platform.h | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/sbi/sbi_hart.h b/include/sbi/sbi_hart.h index cdcd8657..a624dfdf 100644 --- a/include/sbi/sbi_hart.h +++ b/include/sbi/sbi_hart.h @@ -43,7 +43,7 @@ int sbi_hart_pmp_check_addr(struct sbi_scratch *scratch, unsigned long daddr, unsigned long attr); bool sbi_hart_has_feature(u32 hartid, unsigned long feature); unsigned long sbi_hart_get_features(u32 hartid); -int sbi_hart_get_features_str(u32 hartid, char *features_str, int nfstr); +void sbi_hart_get_features_str(u32 hartid, char *features_str, int nfstr); void __attribute__((noreturn)) sbi_hart_hang(void); diff --git a/include/sbi/sbi_platform.h b/include/sbi/sbi_platform.h index dd25aa1b..80871486 100644 --- a/include/sbi/sbi_platform.h +++ b/include/sbi/sbi_platform.h @@ -244,10 +244,9 @@ u32 sbi_platform_hart_index(const struct sbi_platform *plat, u32 hartid); * updated * @param nfstr length of the features_str. The feature string will be truncated * if nfstr is not long enough. - * @return the features value currently set for the given platform */ -int sbi_platform_get_features_str(const struct sbi_platform *plat, - char *features_str, int nfstr); +void sbi_platform_get_features_str(const struct sbi_platform *plat, + char *features_str, int nfstr); /** * Get name of the platform |
