2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2017-12-26 05:55:51 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2017 Andes Technology Corporation
|
|
|
|
* Rick Chen, Andes Technology Corporation <rick@andestech.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_RISCV_SYSTEM_H
|
|
|
|
#define __ASM_RISCV_SYSTEM_H
|
|
|
|
|
2022-03-04 15:43:05 +00:00
|
|
|
struct event;
|
|
|
|
|
2017-12-26 05:55:51 +00:00
|
|
|
/*
|
|
|
|
* Interrupt configuring macros.
|
|
|
|
*
|
|
|
|
* TODO
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2022-03-04 15:43:05 +00:00
|
|
|
/* Hook to set up the CPU (called from SPL too) */
|
|
|
|
int riscv_cpu_setup(void *ctx, struct event *event);
|
|
|
|
|
2017-12-26 05:55:51 +00:00
|
|
|
#endif /* __ASM_RISCV_SYSTEM_H */
|