forked from Mirrors/opensbi

The addresses of these functions are used to set function pointers in struct platform_override, so it is not valid for them to be inline. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20250325234342.711447-2-samuel.holland@sifive.com Signed-off-by: Anup Patel <anup@brainfault.org>
19 lines
464 B
C
19 lines
464 B
C
/*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*
|
|
* Copyright (c) Copyright (c) 2023 Andes Technology Corporation
|
|
*/
|
|
|
|
#ifndef _RISCV_ANDES_PMU_H
|
|
#define _RISCV_ANDES_PMU_H
|
|
|
|
#include <sbi/sbi_hart.h>
|
|
#include <sbi_utils/fdt/fdt_helper.h>
|
|
#include <sbi_utils/fdt/fdt_pmu.h>
|
|
|
|
int andes_pmu_init(const struct fdt_match *match);
|
|
int andes_pmu_extensions_init(const struct fdt_match *match,
|
|
struct sbi_hart_features *hfeatures);
|
|
|
|
#endif /* _RISCV_ANDES_PMU_H */
|