Subversion Repositories HelenOS-historic

Rev

Rev 1157 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1157 Rev 1395
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
#ifndef __ppc64_REGNAME_H__
29
#ifndef __ppc32_REGNAME_H__
30
#define __ppc64_REGNAME_H__
30
#define __ppc32_REGNAME_H__
31
 
31
 
32
/* Condition Register Bit Fields */
32
/* Condition Register Bit Fields */
33
#define cr0 0
33
#define cr0 0
34
#define cr1 1
34
#define cr1 1
35
#define cr2 2
35
#define cr2 2
Line 187... Line 187...
187
#define sprg0   272
187
#define sprg0   272
188
#define sprg1   273
188
#define sprg1   273
189
#define sprg2   274
189
#define sprg2   274
190
#define sprg3   275
190
#define sprg3   275
191
#define prv     287
191
#define prv     287
192
#define ibat0u  528
-
 
193
#define ibat0l  529
-
 
194
#define ibat1u  530
-
 
195
#define ibat1l  531
-
 
196
#define ibat2u  532
-
 
197
#define ibat2l  533
-
 
198
#define ibat3u  534
-
 
199
#define ibat3l  535
-
 
200
#define dbat0u  536
-
 
201
#define dbat0l  537
-
 
202
#define dbat1u  538
-
 
203
#define dbat1l  539
-
 
204
#define dbat2u  540
-
 
205
#define dbat2l  541
-
 
206
#define dbat3u  542
-
 
207
#define dbat3l  543
-
 
208
#define hid0    1008
192
#define hid0    1008
209
 
193
 
210
/* MSR bits */
194
/* MSR bits */
211
#define msr_ir  (1 << 4)
195
#define msr_ir  (1 << 4)
212
#define msr_dr  (1 << 5)
196
#define msr_dr  (1 << 5)