On Thu, May 05, 2005 at 06:03:53PM +0100, Ian Rogers wrote:
> I've attached the test/example I'm working on to create and manipulate 
> address spaces uses skas - as I want to allow an emulator to. There are 
> a few missing functions (that can be pretty much cloned from mem_user.c) 
> and I've not worked out how to calculate the descriptor value yet. 
> Please could you have a look and suggest how to create the descriptor 
> value and why when I look in /proc/<pid>/maps I can't see the asid_mmap 
> that's being done as part of the test.

Just one little point that would seem to indicate a lack of understanding.

You seem to be interested in manipulating many address spaces, but you
have a global mm_fd which you open ones, and on which all operations happen.

Opening /proc/mm gives you a handle to an address space.  If you want two
new address spaces, you open it twice.  You close one when you don't need
the address space any more.

Why are you fixated on descriptor values?  At this level, that's something
you just don't care about.

                                Jeff


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to