Virtual Memory
Page Table Width: 10 bit + 10 bit + 12 bit
- 10 bit 使用較少量的記憶體
修改過的 QEMU 提供 "info pg" monitor 指令,可交叉觀察 CR3 設定前後的 page 變化,檢驗首個與末個 page
Challenge! Extend the JOS kernel monitor with commands -> 開發 in-kernel debugger
"follow the bouncing kernel" on stackoverflow
boot_alloc
TDD (Test-Driven Development) in JOS
assert() supported in patched QEMU
Hawx
page_alloc() -- the page reference count pp_ref
page_insert()
pp_ref (reference count)
=> hawx's version
page_table 3
page_table 4
=> MIT JOS
page_table 1
How to start to write labs?
PDOS paper
The exokernel approach to extensibility (panel statement)
Related: http://hypervisor.org/
Ben
Question: 目前兩週舉行一次會不會太頻繁?
memory verifier -- magic 1 + [mem] + magic 2
main/VEX/ => 模擬 host ISA 的行為來作 memory debugging
libvex -> library for dynamic binary instrumentation
Related paper: Bounds Checking with Taint-Based Analysis
http://cseweb.ucsd.edu/~wchuang/HiPEAC-07-TaintBounds.pdf
Jserv