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

GEN-for-each-reg.h (345B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * These are in machine order; things rely on that.
      4 */
      5#ifdef CONFIG_64BIT
      6GEN(rax)
      7GEN(rcx)
      8GEN(rdx)
      9GEN(rbx)
     10GEN(rsp)
     11GEN(rbp)
     12GEN(rsi)
     13GEN(rdi)
     14GEN(r8)
     15GEN(r9)
     16GEN(r10)
     17GEN(r11)
     18GEN(r12)
     19GEN(r13)
     20GEN(r14)
     21GEN(r15)
     22#else
     23GEN(eax)
     24GEN(ecx)
     25GEN(edx)
     26GEN(ebx)
     27GEN(esp)
     28GEN(ebp)
     29GEN(esi)
     30GEN(edi)
     31#endif