162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci#ifndef __HISILICON_CORE_H 362306a36Sopenharmony_ci#define __HISILICON_CORE_H 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci#include <linux/reboot.h> 662306a36Sopenharmony_ci 762306a36Sopenharmony_ciextern void hi3xxx_set_cpu_jump(int cpu, void *jump_addr); 862306a36Sopenharmony_ciextern int hi3xxx_get_cpu_jump(int cpu); 962306a36Sopenharmony_ciextern void secondary_startup(void); 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ciextern void hi3xxx_cpu_die(unsigned int cpu); 1262306a36Sopenharmony_ciextern int hi3xxx_cpu_kill(unsigned int cpu); 1362306a36Sopenharmony_ciextern void hi3xxx_set_cpu(int cpu, bool enable); 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciextern void hix5hd2_set_cpu(int cpu, bool enable); 1662306a36Sopenharmony_ciextern void hix5hd2_cpu_die(unsigned int cpu); 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciextern void hip01_set_cpu(int cpu, bool enable); 1962306a36Sopenharmony_ci#endif 20