Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1271445

Re: read physical address space

From yalin wang <yalin.wang2010@gmail.com>
Newsgroups linux.kernel
Subject Re: read physical address space
Date 2015-11-17 18:00 +0100
Message-ID <qvRLR-7AN-21@gated-at.bofh.it> (permalink)
References <qvQmJ-6NX-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@gmail.com> wrote:
> 
> phys_addr

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

read physical address space alan hopes <hopes.alan@gmail.com> - 2015-11-17 16:30 +0100
  Re: read physical address space yalin wang <yalin.wang2010@gmail.com> - 2015-11-17 18:00 +0100
    Re: read physical address space alan hopes <hopes.alan@gmail.com> - 2015-11-24 16:50 +0100

csiph-web