rem: int             i, j;
add: int             i;
context: emuxki_pmem_alloc(emuxki_dev *card, size_t size){	int             i, j;//, s;	size_t          numblocks;	emuxki_mem *mem;	uint32      *ptb, silentpage;	ptb = card->ptb_log_base;	silentpage = ((uint32)card->silentpage_phy_base) << 1;	numblocks = size / EMU_PTESIZE;	if (size % EMU_PTESIZE)		numblocks++;			PRINT(("emuxki_pmem_alloc : numblocks : %d\n", numblocks));	for (i = 0; i < EMU_MAXPTE; i++) {		PRINT(("emuxki_pmem_alloc : %d\n", i));		if ((ptb[i] & EMU_CHAN_MAP_PTE_MASK) == silentpage) {			/* We look for a free PTE */			//s = splaudio();			for (j = 0; j < numblocks; j++)				if ((ptb[i + j] & EMU_CHAN_MAP_PTE_MASK)				    != silentpage)					break;			if (j == numblocks) {				PRINT(("emuxki_pmem_alloc : j == numblocks %d\n", j));				if ((mem = emuxki_mem_new(card, i, size)) == NULL) {					//splx(s);					return (NULL);				}				PRINT(("emuxki_pmem_alloc : j == numblocks emuxki_mem_new ok\n"));				for (j = 0; j < numblocks; j++)					ptb[i + j] = (uint32) (						(( ((uint32)mem->phy_base) +						 j * EMU_PTESIZE) << 1)						| (i + j));				LIST_INSERT_HEAD(&(card->mem), mem, next);				PRINT(("emuxki_pmem_alloc : j == numblocks returning\n"));								//splx(s);				return mem->log_base;			} else {				PRINT(("emuxki_pmem_alloc : j != numblocks %d\n", j));				i += j;			}			//splx(s);		}	}	return NULL;}