cvs commit: src/sys/sparc64/sparc64 iommu.c

From: Thomas Moestl <tmm_at_FreeBSD.org>
Date: Sat, 28 Jun 2003 14:52:17 -0700 (PDT)
tmm         2003/06/28 14:52:17 PDT

  FreeBSD src repository

  Modified files:
    sys/sparc64/sparc64  iommu.c 
  Log:
  Small fixes for the IOMMU code:
  
  1.) Handle maximum segment sizes which are smaller than the IOMMU page
      size by splitting up pages across multiple segments if needed; this case
      was previously unimplemented, and would cause panics.
  2.) KASSERT that the physical address is in range; remove a KASSERT that
      has become pointless.
  3.) Add a comment describing what remains to be fixed in the IOMMU code;
      I plan to address these issues soon.
  
  Desired by:     dwhite (1)
  
  Revision  Changes    Path
  1.31      +47 -16    src/sys/sparc64/sparc64/iommu.c
Received on Sat Jun 28 2003 - 14:52:18 UTC