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

sam_secure.h (407B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * Copyright (C) 2022, Microchip
      4 */
      5
      6#ifndef SAM_SECURE_H
      7#define SAM_SECURE_H
      8
      9#include <linux/arm-smccc.h>
     10
     11/* Secure Monitor mode APIs */
     12#define SAMA5_SMC_SIP_SET_SUSPEND_MODE	0x400
     13#define SAMA5_SMC_SIP_GET_SUSPEND_MODE	0x401
     14
     15void __init sam_secure_init(void);
     16struct arm_smccc_res sam_smccc_call(u32 fn, u32 arg0, u32 arg1);
     17
     18#endif /* SAM_SECURE_H */