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

syscall.S (326B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Copyright (C) 2019  Arm Limited
      4 * Original author: Dave Martin <Dave.Martin@arm.com>
      5 */
      6
      7#include "assembler.h"
      8
      9startfn syscall
     10	bti	c
     11	mov	w8, w0
     12	mov	x0, x1
     13	mov	x1, x2
     14	mov	x2, x3
     15	mov	x3, x4
     16	mov	x4, x5
     17	mov	x5, x6
     18	mov	x6, x7
     19	svc	#0
     20	ret
     21endfn
     22
     23emit_aarch64_feature_1_and