【发布时间】:2013-07-16 10:26:08
【问题描述】:
如何用 printk 打印函数 ioremap_nocache 返回的地址值?
void * ioremap_nocache (unsigned long phys_addr, unsigned long size);
http://mirror.linux.org.au/linux-mandocs/2.6.4-cset-20040312_2111/ioremap_nocache.html
我需要知道存储的虚拟地址的值来调试函数的打开、读取和写入。
【问题讨论】:
标签: c linux linux-kernel kernel linux-device-driver