On Mon, Dec 01, 2008 at 10:12:09AM -0500, Alexander Kabaev wrote:
> On Mon, 1 Dec 2008 02:38:51 +0100
> Alexej Sokolov <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> >
> > I would like to remap some buffers allocated in kernel space to memory
> > space of certain process.
> >
> The simplest way is
On Mon, 1 Dec 2008 02:38:51 +0100
Alexej Sokolov <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I would like to remap some buffers allocated in kernel space to memory
> space of certain process.
>
The simplest way is to expose this buffer through device pager.
Implement the driver callback and let us
Hello,
I would like to remap some buffers allocated in kernel space to memory
space of certain process.
For Example, in attach function of driver:
static int
driver_attach {
...
struct vmspace *vms = some_thread->td_proc->p_vmspace;
bufp = malloc (PAGE_SIZE, M_DEVBUF,
3 matches
Mail list logo