Lesson 19 - InClassNotes
Page 1 of 1
Lesson 19 - InClassNotes
- Code:
new UThread(this).setName(name).fork(); // creates a new process
What is Execute doing?
Right click -> Open call hiearchy
UserProcess process = UserProcess.newUserProcess(); // first process control block
String shellProgramName = Machine.getShellProgramName(); // loads .coff file
What is an entry point?
the virtual address of the first instruction in the program
what are sections?
parsing out the file into little pieces
argc, argv transition between user process and kernel. This is put right above the stack portion in memory. One line cannot exceed 1024 bytes.
initial program counter = stored in process control block.
You get 8 pages for your stack. Deal with it. You don't have to use a fixed size stack. If you make it dynamic... now you have to track a lot of stuff.
What is a translation entry -> single translation between virtual and physical.
Handle Exit... you can go and tell everyone to release everything. This is a place you can see memory leaks.
Similar topics
» Lesson 19
» Lesson 18 Notes
» Lesson 19: The Hapsburg Recovery 108 - 133
» Lesson 18 - Static/Dynamic Link
» Lesson 19 - Threads, Tasks & Concurrent Programming (pg 241 - 255)
» Lesson 18 Notes
» Lesson 19: The Hapsburg Recovery 108 - 133
» Lesson 18 - Static/Dynamic Link
» Lesson 19 - Threads, Tasks & Concurrent Programming (pg 241 - 255)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum