Jeff Dike wrote:
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.
Thanks, there's a lack of documentation so the purpose of the example is
to try to determine this kind of information.
Why are you fixated on descriptor values? At this level, that's something
you just don't care about.
In an emulator the peek and poke routines will be inlined into the
dynamically generated code. I'm essentially after a multi-segment model.
I want CS/DS/ES to be in the same flat address space. This means the
generated code and any spill/fill of register value code will be in the
controlling address space, I want to then address the second address
space/segment by just using a segment over-ride.
Thanks for the help,
Ian Rogers
-------------------------------------------------------
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