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 to x86 bus_space_tag_t a member, bs...



details:   https://anonhg.NetBSD.org/src/rev/00e50074887c
branches:  trunk
changeset: 768709:00e50074887c
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Thu Aug 25 15:06:10 2011 +0000

description:
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.

diffstat:

 sys/arch/x86/include/bus_defs.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r c49b14d94683 -r 00e50074887c sys/arch/x86/include/bus_defs.h
--- a/sys/arch/x86/include/bus_defs.h   Thu Aug 25 15:06:09 2011 +0000
+++ b/sys/arch/x86/include/bus_defs.h   Thu Aug 25 15:06:10 2011 +0000
@@ -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;
 };



Home | Main Index | Thread Index | Old Index