File: virthostext.s

package info (click to toggle)
binutils 2.31.1-16
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 309,412 kB
  • sloc: ansic: 1,161,194; asm: 638,508; cpp: 128,829; exp: 68,580; makefile: 55,828; sh: 22,360; yacc: 14,238; lisp: 13,272; perl: 2,111; ada: 1,681; lex: 1,652; pascal: 1,446; cs: 879; sed: 195; python: 154; xml: 95; awk: 25
file content (69 lines) | stat: -rw-r--r-- 1,728 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/* virthostext.s Test file for ARMv8.1 Virtualization Host Extension
	support.

   Copyright (C) 2015-2018 Free Software Foundation, Inc.
   Contributed by ARM Ltd.

   This file is part of GAS.

   GAS is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 3 of the license, or
   (at your option) any later version.

   GAS is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; see the file COPYING3.  If not,
   see <http://www.gnu.org/licenses/>.  */

	.macro rw_sys_reg sys_reg xreg
	msr \sys_reg, \xreg
	mrs \xreg, \sys_reg
	.endm

	.text
	.ifdef DIRECTIVE
	.arch armv8.1-a
	.endif

	rw_sys_reg spsr_el12 x7
	rw_sys_reg elr_el12 x7

	rw_sys_reg sctlr_el12 x7
	rw_sys_reg cpacr_el12 x7

	rw_sys_reg ttbr1_el2 x7
	rw_sys_reg ttbr0_el12 x7
	rw_sys_reg ttbr1_el12 x7

	rw_sys_reg tcr_el12 x7

	rw_sys_reg afsr0_el12 x7
	rw_sys_reg afsr1_el12 x7

	rw_sys_reg esr_el12 x7
	rw_sys_reg far_el12 x7
	rw_sys_reg mair_el12 x7
	rw_sys_reg amair_el12 x7
	rw_sys_reg vbar_el12 x7

	rw_sys_reg contextidr_el2 x7
	rw_sys_reg contextidr_el12 x7

	rw_sys_reg cntkctl_el12 x7

	rw_sys_reg cntp_tval_el02 x7
	rw_sys_reg cntp_ctl_el02 x7
	rw_sys_reg cntp_cval_el02 x7

	rw_sys_reg cntv_tval_el02 x7
	rw_sys_reg cntv_ctl_el02 x7
	rw_sys_reg cntv_cval_el02 x7

	rw_sys_reg cnthv_tval_el2 x7
	rw_sys_reg cnthv_ctl_el2 x7
	rw_sys_reg cnthv_cval_el2 x7