Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/include Add override members to x86_bus_dma_tag.
details: https://anonhg.NetBSD.org/src/rev/11e9355b0a19
branches: trunk
changeset: 769122:11e9355b0a19
user: dyoung <dyoung%NetBSD.org@localhost>
date: Wed Aug 31 20:21:06 2011 +0000
description:
Add override members to x86_bus_dma_tag.
diffstat:
sys/arch/x86/include/bus_private.h | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 362d06207c66 -r 11e9355b0a19 sys/arch/x86/include/bus_private.h
--- a/sys/arch/x86/include/bus_private.h Wed Aug 31 20:16:43 2011 +0000
+++ b/sys/arch/x86/include/bus_private.h Wed Aug 31 20:21:06 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_private.h,v 1.12 2010/11/12 13:40:11 uebayasi Exp $ */
+/* $NetBSD: bus_private.h,v 1.13 2011/08/31 20:21:06 dyoung Exp $ */
/* NetBSD: bus.h,v 1.8 2005/03/09 19:04:46 matt Exp */
/*-
@@ -192,6 +192,15 @@
#endif
struct x86_bus_dma_tag {
+ bus_dma_tag_t bdt_super;
+ /* bdt_present: bitmap indicating overrides present (1) in *this* tag,
+ * bdt_exists: bitmap indicating overrides present (1) in *this* tag
+ * or in an ancestor's tag (follow bdt_super to ancestors)
+ */
+ uint64_t bdt_present;
+ uint64_t bdt_exists;
+ const struct bus_dma_overrides *bdt_ov;
+ void *bdt_ctx;
/*
* The `bounce threshold' is checked while we are loading
* the DMA map. If the physical address of the segment
Home |
Main Index |
Thread Index |
Old Index