diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-02-22 16:12:00 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-02-22 16:12:00 +0000 |
commit | 73032fcd052b774b91d07262a83ecfacd6f61de5 (patch) | |
tree | 5d4b12d6229af0abcff02741e94b07fde7ef57e7 /sys/arch/sparc64/dev/iommuvar.h | |
parent | 0a5d214dc01d1c0ade4e779faea2e7f766a09705 (diff) |
From NetBSD:
- Fix pr sparc64/15633: datafault at tlp_start causes panic
- Also clean up some additional 32-bit kernel printf issues.
- Handle the case where a DMA operation wraps from the end of a page to the
beginning of the same page properly by double-mapping that page.
- Move a brace so this will compile w/o DEBUG.
- Overhaul iommu_dvmamap_load_raw().
From Me:
- Verify the streaming cache exists before waiting on it to clear during flush.
- Force sync of flush status (hardware sets it to 1 when its done)
- Force sync flush of registers (bus_space_barrier)
- Flush ALL segments on BUS_DMA_POSTREAD operations (not just the first!)
Diffstat (limited to 'sys/arch/sparc64/dev/iommuvar.h')
-rw-r--r-- | sys/arch/sparc64/dev/iommuvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/iommuvar.h b/sys/arch/sparc64/dev/iommuvar.h index 7c978d0e3f0..8a0fee9e08c 100644 --- a/sys/arch/sparc64/dev/iommuvar.h +++ b/sys/arch/sparc64/dev/iommuvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: iommuvar.h,v 1.4 2001/10/15 03:36:16 jason Exp $ */ +/* $OpenBSD: iommuvar.h,v 1.5 2002/02/22 16:11:59 jason Exp $ */ /* $NetBSD: iommuvar.h,v 1.9 2001/10/07 20:30:41 eeh Exp $ */ /* @@ -40,6 +40,7 @@ struct iommu_state { int64_t *is_tsb; /* TSB virtual address */ int is_tsbsize; /* 0 = 8K, ... */ u_int is_dvmabase; + u_int is_dvmaend; int64_t is_cr; /* IOMMU control regiter value */ struct extent *is_dvmamap; /* DVMA map for this instance */ |