sbi_init.h 431 B

1234567891011121314151617181920212223
  1. /*
  2. * SPDX-License-Identifier: BSD-2-Clause
  3. *
  4. * Copyright (c) 2019 Western Digital Corporation or its affiliates.
  5. *
  6. * Authors:
  7. * Anup Patel <anup.patel@wdc.com>
  8. */
  9. #ifndef __SBI_INIT_H__
  10. #define __SBI_INIT_H__
  11. #include <sbi/sbi_types.h>
  12. struct sbi_scratch;
  13. void __noreturn sbi_init(struct sbi_scratch *scratch);
  14. unsigned long sbi_init_count(u32 hartid);
  15. void __noreturn sbi_exit(struct sbi_scratch *scratch);
  16. #endif