]>
Commit | Line | Data |
---|---|---|
a06ea964 | 1 | /* |
d87bef3a | 2 | Copyright (C) 2011-2023 Free Software Foundation, Inc. |
a06ea964 NC |
3 | Contributed by ARM Ltd. |
4 | ||
5 | This file is part of GAS. | |
6 | ||
7 | GAS is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 3 of the license, or | |
10 | (at your option) any later version. | |
11 | ||
12 | GAS is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with this program; see the file COPYING3. If not, | |
19 | see <http://www.gnu.org/licenses/>. */ | |
20 | ||
21 | func: | |
22 | msr daifset, #0 | |
23 | msr daifset, #1 | |
24 | msr daifset, #15 | |
25 | ||
26 | ||
27 | ||
28 | msr daifclr, #0 | |
29 | msr daifclr, #1 | |
30 | msr daifclr, #15 | |
31 | ||
32 | msr daif, x0 | |
33 | mrs x0, daif | |
87b8eed7 YZ |
34 | |
35 | msr spsel, #0 | |
36 | msr spsel, #1 | |
cba05feb TC |
37 | |
38 | msr csselr_el1, x0 | |
39 | mrs x0, csselr_el1 | |
40 | ||
41 | msr vsesr_el2, x0 | |
42 | mrs x0, vsesr_el2 | |
43 | ||
44 | msr osdtrrx_el1, x0 | |
45 | mrs x0, osdtrrx_el1 | |
46 | ||
47 | msr osdtrtx_el1, x0 | |
48 | mrs x0, osdtrtx_el1 | |
49 | ||
cba05feb | 50 | mrs x0, pmsidr_el1 |