Lines Matching refs:RELOC
117 #define RELOC(v, t) *((t *)VA_TO_PA(&(v)))
119 RELOC(kernel_reloc_offset, vaddr_t) = reloff;
125 if (RELOC(mmutype, int) == MMU_68040)
137 nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem, int), NPTEPG);
169 if (RELOC(mmutype, int) == MMU_68040) {
349 if (RELOC(mmutype, int) == MMU_68040)
363 if (RELOC(mmutype, int) == MMU_68040) {
374 RELOC(virtual_avail, vaddr_t) = PTE2VA(pte);
382 RELOC(Sysseg, st_entry_t *) = (st_entry_t *)PA_TO_VA(kstpa);
383 RELOC(Sysseg_pa, paddr_t) = kstpa;
385 if (RELOC(mmutype, int) == MMU_68040)
386 RELOC(protostfree, u_int) = stfree;
391 RELOC(Sysptmap, pt_entry_t *) = (pt_entry_t *)PA_TO_VA(kptmpa);
396 RELOC(Sysmap, pt_entry_t *) = (pt_entry_t *)SYSMAP_VA;
402 RELOC(lwp0uarea, vaddr_t) = PA_TO_VA(lwp0upa);
404 RELOC(virtual_end, vaddr_t) = VM_MAX_KERNEL_ADDRESS;
410 vaddr_t va = RELOC(virtual_avail, vaddr_t);
412 RELOC(CADDR1, void *) = (void *)va;
414 RELOC(CADDR2, void *) = (void *)va;
416 RELOC(vmmap, void *) = (void *)va;
418 RELOC(msgbufaddr, void *) = (void *)va;
420 RELOC(virtual_avail, vaddr_t) = va;