pmap->pmap_space = pmap->pmap_pid;
pmap->pmap_space = pmap->pmap_pid >> 1;
pmap_pinit(pmap)	pmap_t pmap;{	register u_int pid;#ifdef PMAPDEBUG	if (pmapdebug & PDB_FOLLOW)		printf("pmap_pinit(%p)\n", pmap);#endif	if (!pmap->pmap_pid) {		/*		 * Allocate space and protection IDs for the pmap.		 * If all are allocated, there is nothing we can do.		 */		simple_lock(&sid_pid_lock);		if (pid_counter <= HPPA_MAX_PID) {			pid = pid_counter;			pid_counter += 2;		} else			pid = 0;		simple_unlock(&sid_pid_lock);		if (pid == 0)			printf("Warning no more pmap id\n");		/* 		 * Initialize the sids and pid. This is a user pmap, so 		 * sr4, sr5, and sr6 are identical. sr7 is always KERNEL_SID.		 */		pmap->pmap_pid = pid;		simple_lock_init(&pmap->pmap_lock);	}	simple_lock(&pmap->pmap_lock);	pmap->pmap_space = pmap->pmap_pid;	pmap->pmap_refcnt = 1;	pmap->pmap_stats.resident_count = 0;	pmap->pmap_stats.wired_count = 0;	simple_unlock(&pmap->pmap_lock);}