git: pmap - Change pmap_map syntaxis

看板DFBSD_commit作者時間16年前 (2009/12/07 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 8e5e6f1b1a2869fdaf18f24243c40e756e6e787a Author: Alex Hornung <ahornung@gmail.com> Date: Sun Dec 6 19:44:26 2009 +0000 pmap - Change pmap_map syntaxis * Change pmap_map syntaxis to take a pointer to vm_offset_t, so the vaddr is modified when memory is mapped. * Hence also don't return the modified vaddr, but rather return the mapped memory. * This unifies the syntax for the different platforms, as on amd64, pmap_map returned the mapped area, instead of the changed vaddr. * Modify vm_page.c accordingly, and also set aside some memory that minidumps need. Summary of changes: sys/platform/pc32/i386/pmap.c | 8 +++++- sys/platform/pc64/x86_64/pmap.c | 2 +- sys/platform/vkernel/platform/pmap.c | 8 +++++- sys/vm/pmap.h | 2 +- sys/vm/vm_page.c | 42 +++++++++++++++++++++++++--------- 5 files changed, 45 insertions(+), 17 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8e5e6f1b1a2869fdaf18f24243c40e756e6e787a -- DragonFly BSD source repository
文章代碼(AID): #1B71J6MP (DFBSD_commit)