Subject: Re: can I run things in kernel space?
To: Allen Briggs <>
From: Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>
List: macbsd-development
Date: 05/04/1995 19:50:16
> > Is it possible to let a user-land program access 
> > memory locations in kernel space? It would be groovy if 
> > I could compile test code to talk to the via and/or mrg 
> > without re-linking the whole kernel and rebooting.  
> > 
> > Is there some way to do this? 
> Sort of.  Take a look at LKMs.  /usr/share/lkm is a good
> place to start...  ;-)

actually, i think the current LKM interface is ... somewhat lacking
for this.

If you're just interested in reading adn writing memory locations,
mmap() and /dev/mem are your friends...