[<prev] [next>] [day] [month] [year] [list]
Message-ID: <BANLkTikjsw6QK99CxxrGh7HeospLrqMfcA@mail.gmail.com>
Date: Sat, 11 Jun 2011 04:40:41 +0900
From: Jongman Heo <jongman.heo@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Reserving specific physical memory and mapping it to virtual memory
Dear all,
I have a physical memory area, which is reserved by bootloader. Its
size is less than a page size (4kB).
The area will be reserved in order not to be used from Linux side, by
using memmap= boot arguments.
What I want to do is that reserving a virtual memory (one page) at
boot time, as well. (may need kernel modification?)
And copying the data of physical memory above to the reserved virtual memory.
Then, certain user space program can access to the memory, using the
address it already knows, which is physical.
I know that mmap() can do the memory translation thing, but we have a
limitation to use such kind of method.
Does anyboy know the solution?
Thanks in advance.
Regards,
Jongman.
--
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