ioremap() function is used to map the physical addres of an I/O device to the kernel virtual address.Kernel creates a page table i.e mapping of virtual address to the physical address requested.When we do iounmap() this mapping is destroyed.
void *ioremap(unsigned long phys_addr, unsigned long size); void iounmap(void * addr);
It is good
ReplyDelete