Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/tools/testing/selftests/arm64/bti/syscall.S
26299 views
1
/* SPDX-License-Identifier: GPL-2.0 */
2
/*
3
* Copyright (C) 2019 Arm Limited
4
* Original author: Dave Martin <[email protected]>
5
*/
6
7
#include "assembler.h"
8
9
startfn 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
21
endfn
22
23
emit_aarch64_feature_1_and
24
25