Module Name: src Committed By: mrg Date: Sun Mar 20 21:26:36 UTC 2011
Modified Files: src/sys/arch/sparc64/dev: iommu.c Log Message: re-add most of the pryo-supporting code, and some general clean up: - handle setting tsb size in the ptsb via IOMMU_TSBSIZE_IN_PTSB (partly from openbsd) - fix IDB_INFO for systems without a STC that fault on accesses to the flush register (like pyro) - move iommu_reset() to the end of iommu_init() - use IOMMUREG_WRITE() in a few places - add a missing membar_lookaside() (from openbsd) - if pmap_extract() on the flush buffer fails, disable flushing (from openbsd) - flush the pyro-style iommu when IOMMU_FLUSH_CACHE is set (partly from openbsd) - clear up a bit of debugging code so it spew a little less (sometimes you will get kernel lock spinouts due to long scrolling printfs) - use __func__ in several places To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/arch/sparc64/dev/iommu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.