rem: uint32      	*ptb, silentpage;
add: uint32      	i, *ptb, silentpage;
context: emuxki_mem_free(emuxki_dev *card, void *ptr){	int             i;//, s;	emuxki_mem 		*mem;	size_t          numblocks;	uint32      	*ptb, silentpage;	ptb = card->ptb_log_base;	silentpage = ((uint32)card->silentpage_phy_base) << 1;	LOG(("emuxki_mem_free 1\n"));	LIST_FOREACH(mem, &card->mem, next) {		LOG(("emuxki_mem_free 2\n"));		if (mem->log_base != ptr)			continue;		LOG(("emuxki_mem_free 3\n"));		//s = splaudio();		if (mem->ptbidx != EMU_RMEM) {			LOG(("mem_size : %i\n", mem->size));			numblocks = mem->size / EMU_PTESIZE;			if (mem->size % EMU_PTESIZE)				numblocks++;			for (i = 0; i < numblocks; i++)				ptb[mem->ptbidx + i] =					silentpage | (mem->ptbidx + i);		}		LIST_REMOVE(mem, next);		//splx(s);		LOG(("freeing mem\n"));		emuxki_mem_delete(mem);		break;	}}