From: Ian R. <ian...@ma...> - 2005-05-07 20:32:04
|
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 |