aprot = m88k_protection(prot);
aprot = m88k_protection(map, prot);
pmap_expand_kmap(vm_offset_t virt, vm_prot_t prot){	int        aprot;	sdt_entry_t      *sdt;	kpdt_entry_t  kpdt_ent;	pmap_t     map = kernel_pmap;#ifdef DEBUG	if ((pmap_con_dbg & (CD_KMAP | CD_FULL)) == (CD_KMAP | CD_FULL))		printf("(pmap_expand_kmap :%x) v %x\n", curproc,virt);#endif	aprot = m88k_protection(prot);	/*  segment table entry derivate from map and virt. */	sdt = SDTENT(map, virt);	if (SDT_VALID(sdt))		panic("pmap_expand_kmap: segment table entry VALID");	kpdt_ent = kpdt_free;	if (kpdt_ent == KPDT_ENTRY_NULL) {		printf("pmap_expand_kmap: Ran out of kernel pte tables\n");		return (PT_ENTRY_NULL);	}	kpdt_free = kpdt_free->next;	((sdt_entry_template_t *)sdt)->bits = kpdt_ent->phys | aprot | DT_VALID;	((sdt_entry_template_t *)(sdt + SDT_ENTRIES))->bits = (vm_offset_t)kpdt_ent | aprot | DT_VALID;	(unsigned)(kpdt_ent->phys) = 0;	(unsigned)(kpdt_ent->next) = 0;	return ((pt_entry_t *)(kpdt_ent) + PDTIDX(virt));}/* pmap_expand_kmap() */