Lines Matching refs:uintptr_t
241 uintptr_t hole_start, hole_end;
250 static uintptr_t segkpm_base = (uintptr_t)SEGKPM_BASE;
374 ((uintptr_t)P2ROUNDUP((uintptr_t)(x), (uintptr_t)MMU_PAGESIZE))
376 ((uintptr_t)P2ROUNDUP((uintptr_t)(x), mmu.level_size[1]))
378 ((uintptr_t)P2ROUNDUP((uintptr_t)(x), (uintptr_t)FOUR_MEG))
380 ((uintptr_t)P2ROUNDUP((uintptr_t)(x), mmu.level_size[mmu.max_level]))
536 uintptr_t kernelbase;
537 uintptr_t postbootkernelbase; /* not set till boot loader is gone */
538 uintptr_t eprom_kernelbase;
540 uintptr_t segmap_start;
545 uintptr_t core_base; /* base address of "core" heap */
598 uintptr_t toxic_addr = (uintptr_t)NULL;
635 uintptr_t valloc_base;
780 uintptr_t va;
781 uintptr_t next_va;
870 ASSERT(((uintptr_t)kpm_vbase & (kpm_pgsz - 1)) == 0);
913 di->di_modules = (uintptr_t)&modules;
914 di->di_s_text = (uintptr_t)s_text;
915 di->di_e_text = (uintptr_t)e_text;
916 di->di_s_data = (uintptr_t)s_data;
917 di->di_e_data = (uintptr_t)e_data;
933 uintptr_t va;
964 e_moddata = (caddr_t)P2ROUNDUP((uintptr_t)e_data, (uintptr_t)len);
969 e_modtext = (caddr_t)P2ROUNDUP((uintptr_t)e_text, (uintptr_t)len);
1080 if (va >= (uintptr_t)e_moddata)
1206 valloc_base = (uintptr_t)(MISC_VA_BASE - valloc_sz);
1331 core_base = (uintptr_t)COREHEAP_BASE;
1351 kernelbase = (uintptr_t)KERNELBASE;
1381 *(uintptr_t *)&_kernelbase = kernelbase;
1382 *(uintptr_t *)&_userlimit = kernelbase;
1384 *(uintptr_t *)&_userlimit -= KERNELBASE - USERLIMIT;
1386 *(uintptr_t *)&_userlimit32 = _userlimit;
1400 if (kernelheap >= ekernelheap || (uintptr_t)kernelheap < kernelbase)
1451 (uintptr_t)eprom_kernelbase, (uintptr_t)kernelbase);
1455 if (kernelbase < (uintptr_t)KERNELBASE_ABI_MIN) {
1457 "i386 ABI compliant.", (uintptr_t)kernelbase);
1722 protect_boot_range(uintptr_t low, uintptr_t high, int setaside)
1724 uintptr_t va = low;
1782 if ((uintptr_t)kpm_vbase + kpm_size > (uintptr_t)valloc_base)
1844 ROUND_UP_LPAGE((uintptr_t)segzio_base + mmu_ptob(segziosize));
1923 protect_boot_range(KERNEL_TEXT, (uintptr_t)-1, 0);
2029 idtr.dtr_base = (uintptr_t)CPU->cpu_idt;
2250 (avfunc)timer_softintr, name, (caddr_t)(uintptr_t)i, NULL);
2609 ASSERT((((uintptr_t)s_text) & MMU_PAGEOFFSET) == 0);
2873 eprom_kernelbase = (uintptr_t)lvalue;
2880 segmapsize = (uintptr_t)lvalue;
3056 uintptr_t v;
3064 v = (uintptr_t)vaddr;
3083 uintptr_t v = (uintptr_t)vaddr;
3110 uintptr_t v = (uintptr_t)vaddr;
3111 uintptr_t eaddr = v + size;