Subversion Repositories HelenOS-historic

Rev

Rev 913 | Rev 1058 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 913 Rev 1003
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 __REGNAME_H__
29
#ifndef __ppc32_REGNAME_H__
30
#define __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 186... Line 186...
186
#define sprg0   272
186
#define sprg0   272
187
#define sprg1   273
187
#define sprg1   273
188
#define sprg2   274
188
#define sprg2   274
189
#define sprg3   275
189
#define sprg3   275
190
#define prv     287
190
#define prv     287
-
 
191
#define hid0    1008
-
 
192
 
-
 
193
/* MSR bits */
-
 
194
#define msr_ir  (1 << 4)
-
 
195
#define msr_dr  (1 << 5)
-
 
196
 
-
 
197
/* HID0 bits */
-
 
198
#define hid0_ice    (1 << 15)
-
 
199
#define hid0_dce    (1 << 14)
-
 
200
#define hid0_icfi   (1 << 11)
-
 
201
#define hid0_dci    (1 << 10)
-
 
202
 
-
 
203
/* Cache sizes */
-
 
204
#define L1_CACHE_LINES (128 * 8)
-
 
205
#define L1_CACHE_BYTES 5
191
 
206
 
192
#endif
207
#endif