DragonFly BSD
DragonFly commits List (threaded) for 2009-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: pmap - Change pmap_map syntaxis


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 6 Dec 2009 12:06:49 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]