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

Jake Burkholder jake at
Thu Mar 27 02:16:38 PST 2003

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 
  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

More information about the cvs-src mailing list