api for sharing memory from kernel to userspace?

Alfred Perlstein alfred at freebsd.org
Wed May 19 05:29:11 PDT 2004


I need to share about 100megs of memory between kernel and userspace.

The memory can not be paged and should appear contig in the process's
address space.  Any suggestions?

I need a way to either:
map user memory into the kernel's address space.
map kernel memory into the user's address space.

I was looking at pmap_qenter() but it didn't see attractive because
it's for "short term mappings", this mapping will exist for quite a
while.

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright at mu.org cell: 408-480-4684


More information about the freebsd-hackers mailing list