.. | .. |
---|
135 | 135 | */ |
---|
136 | 136 | #define TO_PHYS_MASK _CONST64_(0x07ffffffffffffff) /* 2^^59 - 1 */ |
---|
137 | 137 | |
---|
138 | | -#ifndef CONFIG_CPU_R8000 |
---|
139 | | - |
---|
140 | | -/* |
---|
141 | | - * The R8000 doesn't have the 32-bit compat spaces so we don't define them |
---|
142 | | - * in order to catch bugs in the source code. |
---|
143 | | - */ |
---|
144 | | - |
---|
145 | 138 | #define COMPAT_K1BASE32 _CONST64_(0xffffffffa0000000) |
---|
146 | 139 | #define PHYS_TO_COMPATK1(x) ((x) | COMPAT_K1BASE32) /* 32-bit compat k1 */ |
---|
147 | | - |
---|
148 | | -#endif |
---|
149 | 140 | |
---|
150 | 141 | #define KDM_TO_PHYS(x) (_ACAST64_ (x) & TO_PHYS_MASK) |
---|
151 | 142 | #define PHYS_TO_K0(x) (_ACAST64_ (x) | CAC_BASE) |
---|