Re: EDE - Personal Suggestions and Ideas

sandeep
2004-05-27T06:07:42Z

hi,
may be i don't quite understand ELKS much being a newbie here, but what's
complex issue in having multiple segments on elks-8086?

let's assume well behaved program running on elks, that has 4 different segments
in use (CS, DS, ES, SS) and all the accesses made by it are wrt segment registers.

when this program is taken off, it's all the segment registers are also saved in
context info. apart from this elks kernel also keeps track of the extent of
these segments used, so that moving segments around in the memory is convenient.

next time when the program is brought in, whereever it's corresponding segments
have been placed in memory, segment registers are appropriately set and control
is passed back to the program via an iret call.

of course some information manipulation is required for implementation of this.
but we get the flexibility to move the segments around.

--
regards
sandeep
--------------------------------------------------------------------------
Loose bits sink chips.
--------------------------------------------------------------------------