[ 永远的UNIX::UNIX技术资料的宝库 ]

首页 > 系统管理 > FreeBSD > 正文
FreeBSD 4.0 Kernel Hacking Guide--i386/i386/pmap.c
http://cnpa.yzu.edu.tw/~thinker :瞝(Thinker; Thinker.bbs@bbs.yzu.edu.tw) (2001-06-02 21:04:00)
pmap_bootstrap(), 280行. 进行 pmap module 的初始动作. 被 getmemsize 呼叫.
设定 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.


(http://www.fanqiang.com)
    进入【UNIX论坛

相关文章
FreeBSD 4.0 Kernel Hacking Guide--vm/vm_object.c (2001-06-03 09:04:01)
FreeBSD 4.0 Kernel Hacking Guide--vm/vm_page.c (2001-06-03 08:10:00)
FreeBSD 4.0 Kernel Hacking Guide--vm/vm_init.c (2001-06-03 07:00:00)
FreeBSD 4.0 Kernel Hacking Guide--kern/init_main.c (2001-06-02 22:08:00)
FreeBSD 4.0 Kernel Hacking Guide--i386/i386/pmap.c (2001-06-02 21:04:00)
FreeBSD 4.0 Kernel Hacking Guide--i386/i386/machdep.c (2001-06-02 20:10:01)
FreeBSD 4.0 Kernel Hacking Guide--i386/i386/locore.s (2001-06-02 19:00:00)
 

★  樊强制作 欢迎分享  ★