Module Name: src
Committed By: dyoung
Date: Thu Aug 25 15:06:10 UTC 2011
Modified Files:
src/sys/arch/x86/include: bus_defs.h
Log Message:
Add to x86 bus_space_tag_t a member, bst_exists, that tells whether a
routine is overridden by this tag or by any ancestral tag.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/include/bus_defs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/include/bus_defs.h
diff -u src/sys/arch/x86/include/bus_defs.h:1.1 src/sys/arch/x86/include/bus_defs.h:1.2
--- src/sys/arch/x86/include/bus_defs.h:1.1 Fri Jul 1 17:10:01 2011
+++ src/sys/arch/x86/include/bus_defs.h Thu Aug 25 15:06:10 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_defs.h,v 1.1 2011/07/01 17:10:01 dyoung Exp $ */
+/* $NetBSD: bus_defs.h,v 1.2 2011/08/25 15:06:10 dyoung Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -86,7 +86,12 @@
struct bus_space_tag {
int bst_type;
bus_space_tag_t bst_super;
+ /* bst_present: bitmap indicating overrides present (1) in *this* tag,
+ * bst_exists: bitmap indicating overrides present (1) in *this* tag
+ * or in an ancestor's tag (follow bst_super to ancestors)
+ */
uint64_t bst_present;
+ uint64_t bst_exists;
const struct bus_space_overrides *bst_ov;
void *bst_ctx;
};