John Kim
2005-02-19 22:35:48 UTC
I am confused about what the "hints" refer to in Load_User_Program.
/*
* Hints:
* - Determine where in memory each executable segment will be
placed
* - Determine size of argument block and where in memory it
will be placed
* - Copy each executable segment into memory
* - Format argument block in memory
* - In the created User_Context object, set code entry point
* address, argument block address, and initial kernel stack
pointer address
*/
The project description is very vague as well in describing how to
access the memory segments and where to copy them as well.
Do we copy the program headers from the exeFormat to the LDT? or
how do we access the information from the program header itself
and translate that to a segment? Am I even asking the right
question? Someone please help.
-John
/*
* Hints:
* - Determine where in memory each executable segment will be
placed
* - Determine size of argument block and where in memory it
will be placed
* - Copy each executable segment into memory
* - Format argument block in memory
* - In the created User_Context object, set code entry point
* address, argument block address, and initial kernel stack
pointer address
*/
The project description is very vague as well in describing how to
access the memory segments and where to copy them as well.
Do we copy the program headers from the exeFormat to the LDT? or
how do we access the information from the program header itself
and translate that to a segment? Am I even asking the right
question? Someone please help.
-John