patch-2.1.51 linux/include/asm-sparc64/iommu.h
Next file: linux/include/asm-sparc64/irq.h
Previous file: linux/include/asm-sparc64/ioctls.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Sat Aug 16 09:51:10 1997
- Orig file:
v2.1.50/linux/include/asm-sparc64/iommu.h
- Orig date:
Mon Apr 14 16:28:22 1997
diff -u --recursive --new-file v2.1.50/linux/include/asm-sparc64/iommu.h linux/include/asm-sparc64/iommu.h
@@ -7,6 +7,7 @@
#include <asm/page.h>
#include <asm/sysio.h>
+#include <asm/spinlock.h>
/* The iommu handles all virtual to physical address translations
* that occur between the SYSIO and physical memory. Access by
@@ -43,8 +44,12 @@
#define IOPTE_WRITE 0x0000000000000002 /* Writeable */
struct iommu_struct {
- struct sysio_regs *sysio_regs;
- iopte_t *page_table;
+ struct sysio_regs *sysio_regs;
+ unsigned int *sbuf_flushflag_va;
+ unsigned long sbuf_flushflag_pa;
+ spinlock_t iommu_lock;
+
+ iopte_t *page_table;
/* For convenience */
unsigned long start; /* First managed virtual address */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov