Re: physical memory access
Brian Gerst (firstname.lastname@example.org)
Thu, 04 Mar 1999 10:26:38 -0500
> I wrote some information on the bios flash unused space using an eprom
> I know it's very dangerous but I can not do otherwise, and the bios
> seems not to complain
> about that.
> Actually my system is still working after replacing the flash but I
> can't read the things I wrote.
> I can reference only vitrual memory because I can't bypass memory paging
> (even using a kernel module).
> Is it possible to disable paging? Has anyone ever heard of a C function
> that stops paging or able to
> access actual physical addresses? Or is there a different way to do
> Thanks in advance.
Physical memory is 1:1 mapped at PAGE_OFFSET (normally 0xc000000 on the
x86). Just add PAGE_OFFSET to the address you really want to read.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/