Hi all:
 
Sorry for the newbie question.  I’m 
working on a kernel module which is meant to manage a chunk of physical memory. 
 
My intent is to boot the kernel with ‘physmem=<somevalue>’ to limit the 
physical memory available to the OS, and then use this kernel module to manage 
the rest of physical memory to support some code that we are porting from 
another OS.
 
One of the things the module needs 
to do is map this reserved physical memory into the kernel virtual address 
space so that 
we can write data management structs etc. into it.  The module will then 
service ioctl's from user space, as well as calls from other kernel modules to 
manipulate the memory.
 
My question is:  is there an 
established ddi to map physical memory into the kernel AS 
for this sort of thing?  The ddi for mapping into user space is well 
documented, 
but I need to be able to do the same in a kernel module.
 
Any pointers would be 
appreciated.
 
thanks in 
advance
Mark


      
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to