19a2451f1SAtish Patra /* SPDX-License-Identifier: GPL-2.0-only */ 29a2451f1SAtish Patra /* 39a2451f1SAtish Patra * Copyright (c) 2021 by Rivos Inc. 49a2451f1SAtish Patra */ 59a2451f1SAtish Patra #ifndef __ASM_CPU_OPS_SBI_H 69a2451f1SAtish Patra #define __ASM_CPU_OPS_SBI_H 79a2451f1SAtish Patra 89a2451f1SAtish Patra #ifndef __ASSEMBLY__ 99a2451f1SAtish Patra #include <linux/init.h> 109a2451f1SAtish Patra #include <linux/sched.h> 119a2451f1SAtish Patra #include <linux/threads.h> 129a2451f1SAtish Patra 13*87df2b5cSConor Dooley extern const struct cpu_operations cpu_ops_sbi; 14*87df2b5cSConor Dooley 159a2451f1SAtish Patra /** 169a2451f1SAtish Patra * struct sbi_hart_boot_data - Hart specific boot used during booting and 179a2451f1SAtish Patra * cpu hotplug. 189a2451f1SAtish Patra * @task_ptr: A pointer to the hart specific tp 199a2451f1SAtish Patra * @stack_ptr: A pointer to the hart specific sp 209a2451f1SAtish Patra */ 219a2451f1SAtish Patra struct sbi_hart_boot_data { 229a2451f1SAtish Patra void *task_ptr; 239a2451f1SAtish Patra void *stack_ptr; 249a2451f1SAtish Patra }; 259a2451f1SAtish Patra #endif 269a2451f1SAtish Patra 279a2451f1SAtish Patra #endif /* ifndef __ASM_CPU_OPS_SBI_H */ 28