2012-03-13
1.6.828 goals ?
2.How is an O/S built? linux
3. what services does an O/S kernel typically provide?
processes (lab3)
memory (lab2,lab4)
file contents (lab5)
4.shell的開發,使用fork
5.linux 三個file descriptor (0,1,2)
6.stdin,stdout example
7.shell倒向實作, $ sh < script > out
8.pipe example,parent ,child process 用pipe溝通
9.sleep 2 &,丟到background去跑,不是所有實做parent都是交給shell
10.init -> bash -> shell
bash kill,(init->shell)
lab
1.JOS :memory map
real mode
logic address => phy address
physical address = 16 * segment + offset
2.kernel.ld跟程式載入位置有關,jos :0xF0100000
3.jos 加入backtrace指令
4.enable A20的方法 from osdev
Keyboard Controller
Fast A20 Gate
INT 15, 2401