]> git.ozlabs.org Git - bitfield/blob - conf/powerpc.conf
New 0.2 release
[bitfield] / conf / powerpc.conf
1 ; Definitions for the PowerPC architecture
2 ;
3 ; Contributors:
4 ;  Michael Neuling <mikey@neuling.org>
5 ;
6 ; Taken from:
7 ;    PowerPC® Microprocessor Family:
8 ;    The Programming Environments Manual for 32 and 64-bit Microprocessors
9 ;    Version 2.3
10 ;    http://www.power.org/resources/downloads/PowerISA_203.Public.pdf
11 ;
12
13 ; Section 2.3.1 Machine State Register (MSR)
14 [MSR_64]
15 name: PowerPC Machine State Register
16 field:  0 64-bit mode (SF)
17 value:          0 32-bit mode
18 value:          1 64-bit mode
19 field:  2 Exception 64-bit mode
20 field:  3 Hypervisor State (HV)
21 field: 45 Power Management Enable (POW)
22 field: 47 Little-Endian Exception Mode (ILE)
23 field: 48 External Interrupt Enable (EE)
24 field: 49 Problem State (PR)
25 value:          0 privileged state
26 value:          1 problem state
27 field: 50 Floating-Point Available (FP)
28 field: 51 Machine Check Interrupt Enable (ME)
29 field: 52,55 Floating-Point Exception Mode (FE)
30 value:          0 ignore exceptions
31 value:          1 imprecise nonrecoverable
32 value:          2 imprecise recoverable
33 value:          3 precise
34 field: 53 Single-Step Trace Enable (SE)
35 field: 54 Branch Trace Enable (BE)
36 field: 58 Instruction Relocate (IR)
37 field: 59 Data Relocate (DR)
38 field: 61 Performance Monitor Mark (PMM)
39 field: 62 Recoverable Interrupt (RI)
40 field: 63 Little-Endian Mode (LE)
41 value:          0 big-endian
42 value:          1 little-endian
43
44 ; Section 8, Instruction slbmte
45 [SLB_E]
46 name: PowerPC SLB ESID Entry
47 field: 0:35  Effective segment ID (ESID)
48 field: 36    Valid (V)
49 field: 52:63 Index
50
51 ; Section 8, Instruction slbmte
52 [SLB_V]
53 name: PowerPC SLB VSID Entry
54 field: 0:1  Segment size selector (B)
55 value:          0 256MB
56 value:          1 1TB
57 value:          2 reserved
58 value:          3 reserved
59 field: 2:51 Virtual segment ID (VSID)
60 field: 52   Supervisor state storage key (Ks)
61 field: 53   Problem state storage key (Kp)
62 field: 55,58,59 Virtual page size selector
63 value:          0 4KB (Unless PTE specifies 64KB) (MPS)
64 value:          5 64KB (Provided PTE specifies 64KB) (MPS)
65 field: 54   No-execute segment (N)
66 field: 56   Class (C)
67 value:          0 big-endian
68 value:          1 little-endian
69