Nachos II: User Programs
Tom Kelliher, CS 318
Mar. 23, 1998
Announcements: Nachos threads grades.
From last time: Disk operation.
Outline: Idea, directories, compiling, experiment.
Assignment: For Friday, implement exec as a print string call.
- Protect the MIPS engine. How?
- Support multiple address spaces. Address spaces not contiguous.
- Time slice. Instrument.
- Write a shell, utility programs.
- machine
- thread
- bin
- test
- userprog
- coff2noff
- A user program.
- nachos
- Running the user program.
- Tracing a system call:
- syscall.h
- start.s
- exception.cc
- Using exec to print a string:
- How is the parameter passed?
- What address space?
- Incrementing the PC. Subtle problems.
- See StartProcess in progtest.cc to see skeletal exec.
Thomas P. Kelliher
Mon Mar 23 10:15:52 EST 1998
Tom Kelliher