cvs commit: src/sys/sparc64/include tte.h src/sys/sparc64/sparc64 pmap.c tsb.c

From: Jake Burkholder <jake_at_FreeBSD.org>
Date: Wed, 26 Mar 2003 18:16:31 -0800 (PST)
jake        2003/03/26 18:16:31 PST

  FreeBSD src repository

  Modified files:
    sys/sparc64/include  tte.h 
    sys/sparc64/sparc64  pmap.c tsb.c 
  Log:
  Handle the fictitious pages created by the device pager.  For fictitious
  pages which represent actual physical memory we must strip off the fake
  page in order to allow illegal aliases to be detected.  Otherwise we map
  uncacheable in the virtual and physical caches and set the side effect bit,
  as is required for mapping device memory.
  
  This fixes gstat on sparc64, which wants to mmap kernel memory through a
  character device.
  
  Revision  Changes    Path
  1.16      +2 -0      src/sys/sparc64/include/tte.h
  1.103     +48 -15    src/sys/sparc64/sparc64/pmap.c
  1.31      +11 -7     src/sys/sparc64/sparc64/tsb.c
Received on Wed Mar 26 2003 - 18:16:36 UTC