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

suspend.h (369B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef __ASM_ARM_SUSPEND_H
      3#define __ASM_ARM_SUSPEND_H
      4
      5#include <linux/types.h>
      6
      7struct sleep_save_sp {
      8	u32 *save_ptr_stash;
      9	u32 save_ptr_stash_phys;
     10};
     11
     12extern void cpu_resume(void);
     13extern void cpu_resume_no_hyp(void);
     14extern void cpu_resume_arm(void);
     15extern int cpu_suspend(unsigned long, int (*)(unsigned long));
     16
     17#endif