Eldiridge Academic Library
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Lesson 19 - InClassNotes

Go down

Lesson 19 - InClassNotes Empty Lesson 19 - InClassNotes

Post  Admin 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.

Lesson 19 - InClassNotes Lesson19
Admin
Admin
Admin

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

https://metisscrolls.board-directory.net

Back to top Go down

Back to top

- Similar topics

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