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

rdvl.S (251B)


      1// SPDX-License-Identifier: GPL-2.0-only
      2// Copyright (C) 2021 ARM Limited.
      3
      4#include "sme-inst.h"
      5
      6.arch_extension sve
      7
      8.globl rdvl_sve
      9rdvl_sve:
     10	hint	34			// BTI C
     11	rdvl	x0, #1
     12	ret
     13
     14.globl rdvl_sme
     15rdvl_sme:
     16	hint	34			// BTI C
     17
     18	rdsvl	0, 1
     19
     20	ret