[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <ABA54BF3-80CA-4035-B01E-1F785F62BB84@gmail.com>
Date: Wed, 18 Nov 2015 00:28:01 +0800
From: yalin wang <yalin.wang2010@...il.com>
To: alan hopes <hopes.alan@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: read physical address space
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@...il.com> wrote:
>
> phys_addr
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists