Subversion Repositories HelenOS-historic

Rev

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

Rev 913 Rev 914
Line 27... Line 27...
27
 */
27
 */
28
 
28
 
29
#ifndef __SPR_H__
29
#ifndef __SPR_H__
30
#define __SPR_H__
30
#define __SPR_H__
31
 
31
 
32
#define MSR_DR (1<<27)
32
#define MSR_DR (1 << 27)
33
#define MSR_IR (1<<26)
33
#define MSR_IR (1 << 26)
34
 
34
 
35
#define SPRN_SRR0  0x1a
35
#define SPRN_SRR0  0x1a
36
#define SPRN_SRR1  0x1b
36
#define SPRN_SRR1  0x1b
-
 
37
#define SPRN_HID0  0x3f0
37
 
38
 
-
 
39
#define HID0_ICE  (1 << 15)
-
 
40
#define HID0_DCE  (1 << 14)
-
 
41
#define HID0_ICFI (1 << 11)
38
/* Works for PPC32 */
42
#define HID0_DCI  (1 << 10)
-
 
43
 
-
 
44
#define L1_CACHE_LINES (128 * 8)
39
#define L1_CACHE_BYTES (1 << 5)
45
#define L1_CACHE_BYTES 5
40
 
46
 
41
#endif
47
#endif