cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

cpu_ops_sbi.h (560B)


      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
     13/**
     14 * struct sbi_hart_boot_data - Hart specific boot used during booting and
     15 *			       cpu hotplug.
     16 * @task_ptr: A pointer to the hart specific tp
     17 * @stack_ptr: A pointer to the hart specific sp
     18 */
     19struct sbi_hart_boot_data {
     20	void *task_ptr;
     21	void *stack_ptr;
     22};
     23#endif
     24
     25#endif /* ifndef __ASM_CPU_OPS_SBI_H */