FreeBSD 4.0 Kernel Hacking Guide
来源:岁月联盟
时间:2008-01-19
设定 global variable:
avail_start 可用而未用的 physcial mem (physfree).
virtual_avail
virtual_end
kernel_pmap
并保留 virtual space 给 pmap 使用 (不 allocate physical addr),
CMAP1/CADDR1, CMAP2/CADDR2 for zeroing & copying pages.
ptmmap/ptvmmap for reading arbitrary physical pages
via /dev/mem.
msgbufmap/msgbufp to map the system message buffer.