/* Initialize the pagetable with a one-to-one mapping of the first 16 Mbytes of main memory and declare all entries to be unused. Using this method will at least allow some early device driver operations to work.  */
static void vdma_pgtbl_init(void)
/* Initialize the pagetable with a one-to-one mapping of the first 16 Mbytes of main memory and declare all entries to be unused. Using this method will at least allow some early device driver operations to work.  */
static void vdma_pgtbl_init(void)
{
	unsigned long paddr = 0;
	int i;
	for (i = 0; i < VDMA_PGTBL_ENTRIES; i++) {
		pgtbl[i].frame = paddr;
		pgtbl[i].owner = VDMA_PAGE_EMPTY;
		paddr += VDMA_PAGESIZE;
	}
}