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

ppc_asm.h (572B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _PPC_ASM_H
      3#define _PPC_ASM_H
      4#include <ppc-asm.h>
      5
      6#ifndef r1
      7#define r1 sp
      8#endif
      9
     10#define _GLOBAL(A) FUNC_START(test_ ## A)
     11#define _GLOBAL_TOC(A) FUNC_START(test_ ## A)
     12
     13#define CONFIG_ALTIVEC
     14
     15#define R14 r14
     16#define R15 r15
     17#define R16 r16
     18#define R17 r17
     19#define R18 r18
     20#define R19 r19
     21#define R20 r20
     22#define R21 r21
     23#define R22 r22
     24#define R29 r29
     25#define R30 r30
     26#define R31 r31
     27
     28#define STACKFRAMESIZE	256
     29#define STK_REG(i)	(112 + ((i)-14)*8)
     30
     31#define BEGIN_FTR_SECTION
     32#define END_FTR_SECTION_IFSET(val)
     33#endif