1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (c) 2021 by Rivos Inc.
4 */
5#ifndef __ASM_CPU_OPS_SBI_H
6#define __ASM_CPU_OPS_SBI_H
7
8#ifndef __ASSEMBLY__
9#include <linux/init.h>
10#include <linux/sched.h>
11#include <linux/threads.h>
12
13extern const struct cpu_operations cpu_ops_sbi;
14
15/**
16 * struct sbi_hart_boot_data - Hart specific boot used during booting and
17 *			       cpu hotplug.
18 * @task_ptr: A pointer to the hart specific tp
19 * @stack_ptr: A pointer to the hart specific sp
20 */
21struct sbi_hart_boot_data {
22	void *task_ptr;
23	void *stack_ptr;
24};
25#endif
26
27#endif /* ifndef __ASM_CPU_OPS_SBI_H */
28