dma_addr_t *dma_handle, int flag) 
dma_addr_t *dma_handle, gfp_t flag) 
void *dreamcast_consistent_alloc(struct device *dev, size_t size,				 dma_addr_t *dma_handle, int flag){	unsigned long buf;	if (dev && dev->bus != &pci_bus_type)		return NULL;	if (gapspci_dma_used + size > GAPSPCI_DMA_SIZE)		return ERR_PTR(-EINVAL);	buf = GAPSPCI_DMA_BASE + gapspci_dma_used;	gapspci_dma_used = PAGE_ALIGN(gapspci_dma_used+size);	*dma_handle = (dma_addr_t)buf;	buf = P2SEGADDR(buf);	/* Flush the dcache before we hand off the buffer */	dma_cache_wback_inv((void *)buf, size);	return (void *)buf;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/6dae2c2306684d9e76a04c22dc090380a9009f12/dma-dreamcast.c/buggy/arch/sh/drivers/pci/dma-dreamcast.c