Re: read physical address space

From: yalin wang
Date: Tue Nov 17 2015 - 11:55:15 EST


you should access it like this:
printk ( *(int*)kmap(pays_to_page(pays_addr)));

pays address must be mapped into virtual address before access it .
> On Nov 17, 2015, at 23:21, alan hopes <hopes.alan@xxxxxxxxx> wrote:
>
> phys_addr

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/