.. | .. |
---|
24 | 24 | #include <asm/winmacro.h> |
---|
25 | 25 | #include <asm/thread_info.h> /* TI_UWINMASK */ |
---|
26 | 26 | #include <asm/errno.h> |
---|
27 | | -#include <asm/pgtsrmmu.h> /* SRMMU_PGDIR_SHIFT */ |
---|
| 27 | +#include <asm/pgtable.h> /* PGDIR_SHIFT */ |
---|
28 | 28 | #include <asm/export.h> |
---|
29 | 29 | |
---|
30 | 30 | .data |
---|
.. | .. |
---|
273 | 273 | lda [%o1] ASI_M_BYPASS, %o2 ! This is the 0x0 16MB pgd |
---|
274 | 274 | |
---|
275 | 275 | /* Calculate to KERNBASE entry. */ |
---|
276 | | - add %o1, KERNBASE >> (SRMMU_PGDIR_SHIFT - 2), %o3 |
---|
| 276 | + add %o1, KERNBASE >> (PGDIR_SHIFT - 2), %o3 |
---|
277 | 277 | |
---|
278 | 278 | /* Poke the entry into the calculated address. */ |
---|
279 | 279 | sta %o2, [%o3] ASI_M_BYPASS |
---|
.. | .. |
---|
317 | 317 | sll %g1, 0x8, %g1 ! make phys addr for l1 tbl |
---|
318 | 318 | |
---|
319 | 319 | lda [%g1] ASI_M_BYPASS, %g2 ! get level1 entry for 0x0 |
---|
320 | | - add %g1, KERNBASE >> (SRMMU_PGDIR_SHIFT - 2), %g3 |
---|
| 320 | + add %g1, KERNBASE >> (PGDIR_SHIFT - 2), %g3 |
---|
321 | 321 | sta %g2, [%g3] ASI_M_BYPASS ! place at KERNBASE entry |
---|
322 | 322 | b go_to_highmem |
---|
323 | 323 | nop ! wheee.... |
---|
.. | .. |
---|
341 | 341 | sll %g1, 0x8, %g1 ! make phys addr for l1 tbl |
---|
342 | 342 | |
---|
343 | 343 | lda [%g1] ASI_M_BYPASS, %g2 ! get level1 entry for 0x0 |
---|
344 | | - add %g1, KERNBASE >> (SRMMU_PGDIR_SHIFT - 2), %g3 |
---|
| 344 | + add %g1, KERNBASE >> (PGDIR_SHIFT - 2), %g3 |
---|
345 | 345 | sta %g2, [%g3] ASI_M_BYPASS ! place at KERNBASE entry |
---|
346 | 346 | b go_to_highmem |
---|
347 | 347 | nop ! wheee.... |
---|