2012-08-07

08/07: JuluOSDev 讀書會 : Lab2 and TDD preview

報名網址: http://registrano.com/events/fd4600

共筆網址:http://sync.in/ep/pad/view/juluosdev/aFJiGQyIB3

Lab2 Review

http://www.slideshare.net/psychesnet/lab2-13905983

page_free_list: 用來描述實體記憶

struct Page

For challenge for ex 5

PTE_PS

http://pdos.csail.mit.edu/6.828/2011/readings/ia32/IA32-3A.pdf

page 3-27 : features

Reduce space of page index structure?

- read physical memory size (ex: e820)

- allocate fit size of page index..

Memory Leak detection for OS?

-- gabage collection

TDD

overview

-- step1: Covert test cases to write function-test-function

-- step2: (if c like, ...) let it passed build procedure with dummy function

-- step3: add real code to dummy function

--> a. write partial, goto b

--> b. test, if not passed goto a,

--> else goto step1

Case for use

--> spec is clear

--> interface (non-gui)

--> API, CLI, RPC (ex: OS)

--> you don't have QA, then automation is your best friend.

next topic

  • TDD in Python with C code
  • Real practice

簽到 (用以將人名和編輯的顏色作關連)

ben6

cacaegg

eric

wayling