]> git.saurik.com Git - apple/xnu.git/blob - osfmk/ppc/chud/chud_cpu_asm.h
xnu-517.12.7.tar.gz
[apple/xnu.git] / osfmk / ppc / chud / chud_cpu_asm.h
1 /*
2 * Copyright (c) 2003 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
11 *
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
18 * under the License.
19 *
20 * @APPLE_LICENSE_HEADER_END@
21 */
22
23 #ifndef _CHUD_CPU_ASM_H_
24 #define _CHUD_CPU_ASM_H_
25
26 void chudxnu_mfsrr0_64(uint64_t *val);
27 void chudxnu_mfsrr1_64(uint64_t *val);
28 void chudxnu_mfdar_64(uint64_t *val);
29 void chudxnu_mfsdr1_64(uint64_t *val);
30 void chudxnu_mfsprg0_64(uint64_t *val);
31 void chudxnu_mfsprg1_64(uint64_t *val);
32 void chudxnu_mfsprg2_64(uint64_t *val);
33 void chudxnu_mfsprg3_64(uint64_t *val);
34 void chudxnu_mfasr_64(uint64_t *val);
35 void chudxnu_mfdabr_64(uint64_t *val);
36 void chudxnu_mfhid0_64(uint64_t *val);
37 void chudxnu_mfhid1_64(uint64_t *val);
38 void chudxnu_mfhid4_64(uint64_t *val);
39 void chudxnu_mfhid5_64(uint64_t *val);
40 void chudxnu_mfmmcr0_64(uint64_t *val);
41 void chudxnu_mfmmcr1_64(uint64_t *val);
42 void chudxnu_mfmmcra_64(uint64_t *val);
43 void chudxnu_mfsiar_64(uint64_t *val);
44 void chudxnu_mfsdar_64(uint64_t *val);
45 void chudxnu_mfimc_64(uint64_t *val);
46 void chudxnu_mfrmor_64(uint64_t *val);
47 void chudxnu_mfhrmor_64(uint64_t *val);
48 void chudxnu_mfhior_64(uint64_t *val);
49 void chudxnu_mflpidr_64(uint64_t *val);
50 void chudxnu_mflpcr_64(uint64_t *val);
51 void chudxnu_mfdabrx_64(uint64_t *val);
52 void chudxnu_mfhsprg0_64(uint64_t *val);
53 void chudxnu_mfhsprg1_64(uint64_t *val);
54 void chudxnu_mfhsrr0_64(uint64_t *val);
55 void chudxnu_mfhsrr1_64(uint64_t *val);
56 void chudxnu_mfhdec_64(uint64_t *val);
57 void chudxnu_mftrig0_64(uint64_t *val);
58 void chudxnu_mftrig1_64(uint64_t *val);
59 void chudxnu_mftrig2_64(uint64_t *val);
60 void chudxnu_mfaccr_64(uint64_t *val);
61 void chudxnu_mfscomc_64(uint64_t *val);
62 void chudxnu_mfscomd_64(uint64_t *val);
63 void chudxnu_mfmsr_64(uint64_t *val);
64
65 void chudxnu_mtsrr0_64(uint64_t *val);
66 void chudxnu_mtsrr1_64(uint64_t *val);
67 void chudxnu_mtdar_64(uint64_t *val);
68 void chudxnu_mtsdr1_64(uint64_t *val);
69 void chudxnu_mtsprg0_64(uint64_t *val);
70 void chudxnu_mtsprg1_64(uint64_t *val);
71 void chudxnu_mtsprg2_64(uint64_t *val);
72 void chudxnu_mtsprg3_64(uint64_t *val);
73 void chudxnu_mtasr_64(uint64_t *val);
74 void chudxnu_mtdabr_64(uint64_t *val);
75 void chudxnu_mthid0_64(uint64_t *val);
76 void chudxnu_mthid1_64(uint64_t *val);
77 void chudxnu_mthid4_64(uint64_t *val);
78 void chudxnu_mthid5_64(uint64_t *val);
79 void chudxnu_mtmmcr0_64(uint64_t *val);
80 void chudxnu_mtmmcr1_64(uint64_t *val);
81 void chudxnu_mtmmcra_64(uint64_t *val);
82 void chudxnu_mtsiar_64(uint64_t *val);
83 void chudxnu_mtsdar_64(uint64_t *val);
84 void chudxnu_mtimc_64(uint64_t *val);
85 void chudxnu_mtrmor_64(uint64_t *val);
86 void chudxnu_mthrmor_64(uint64_t *val);
87 void chudxnu_mthior_64(uint64_t *val);
88 void chudxnu_mtlpidr_64(uint64_t *val);
89 void chudxnu_mtlpcr_64(uint64_t *val);
90 void chudxnu_mtdabrx_64(uint64_t *val);
91 void chudxnu_mthsprg0_64(uint64_t *val);
92 void chudxnu_mthsprg1_64(uint64_t *val);
93 void chudxnu_mthsrr0_64(uint64_t *val);
94 void chudxnu_mthsrr1_64(uint64_t *val);
95 void chudxnu_mthdec_64(uint64_t *val);
96 void chudxnu_mttrig0_64(uint64_t *val);
97 void chudxnu_mttrig1_64(uint64_t *val);
98 void chudxnu_mttrig2_64(uint64_t *val);
99 void chudxnu_mtaccr_64(uint64_t *val);
100 void chudxnu_mtscomc_64(uint64_t *val);
101 void chudxnu_mtscomd_64(uint64_t *val);
102 void chudxnu_mtmsr_64(uint64_t *val);
103
104 #endif // _CHUD_CPU_ASM_H_