pmap - Change pmap_map syntaxis
authorAlex Hornung <ahornung@gmail.com>
Sun, 6 Dec 2009 19:44:26 +0000 (19:44 +0000)
committerAlex Hornung <ahornung@gmail.com>
Sun, 6 Dec 2009 20:06:31 +0000 (20:06 +0000)
commit8e5e6f1b1a2869fdaf18f24243c40e756e6e787a
tree033b7857846dba490dcfbf4c1dae37771224f6f0
parent376534279570d134799f19f5b0b0bb5c0cd24516
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.
sys/platform/pc32/i386/pmap.c
sys/platform/pc64/x86_64/pmap.c
sys/platform/vkernel/platform/pmap.c
sys/vm/pmap.h
sys/vm/vm_page.c