Lesson 19 - InClassNotes

View previous topic View next topic Go down

Lesson 19 - InClassNotes

Post  Admin on Fri Oct 12, 2012 10:29 am

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.

avatar
Admin
Admin

Posts : 9
Points : 24
Join date : 2012-10-10

View user profile http://metisscrolls.forumotion.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum