patch-1.3.93 linux/include/asm-sparc/iommu.h
Next file: linux/include/asm-sparc/irq.h
Previous file: linux/include/asm-sparc/ioctls.h
Back to the patch index
Back to the overall index
-  Lines: 17
 -  Date:
Sun Apr 21 12:30:33 1996
 -  Orig file: 
v1.3.92/linux/include/asm-sparc/iommu.h
 -  Orig date: 
Mon Mar  4 08:50:00 1996
 
diff -u --recursive --new-file v1.3.92/linux/include/asm-sparc/iommu.h linux/include/asm-sparc/iommu.h
@@ -92,6 +92,7 @@
 
 /* The format of an iopte in the page tables */
 #define IOPTE_PAGE          0x07ffff00 /* Physical page number (PA[30:12]) */
+#define IOPTE_CACHE         0x00000080 /* Cached (in vme IOCACHE or Viking/MXCC) */
 #define IOPTE_WRITE         0x00000004 /* Writeable */
 #define IOPTE_VALID         0x00000002 /* IOPTE is valid */
 #define IOPTE_WAZ           0x00000001 /* Write as zeros */
@@ -99,6 +100,8 @@
 struct iommu_struct {
 	struct iommu_regs *regs;
 	iopte_t *page_table;
+	iopte_t *lowest;     /* to speed up searches... */
+	unsigned long plow;
 	/* For convenience */
 	unsigned long start; /* First managed virtual address */
 	unsigned long end;   /* Last managed virtual address */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this