summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/intr_machdep.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-01-18 20:24:47 +0000
committerjhb <jhb@FreeBSD.org>2005-01-18 20:24:47 +0000
commit5a3bc2892ea0f6b77fd8dfd236132abbac0d7455 (patch)
tree536171824438871e1f5eafb3dfb2bb55536ecaad /sys/i386/include/intr_machdep.h
parent557809eac4b7b9411efe30f91c98a42fe9a2e05d (diff)
downloadFreeBSD-src-5a3bc2892ea0f6b77fd8dfd236132abbac0d7455.zip
FreeBSD-src-5a3bc2892ea0f6b77fd8dfd236132abbac0d7455.tar.gz
Tweak the ELCR support slightly. Explicitly probe the ELCR during boot
instead of burying that in the atpic(4) code as atpic(4) is not the only user of elcr(4). Change the elcr(4) code to export a global elcr_found variable that other code can check to see if a valid ELCR was found. MFC after: 1 month
Diffstat (limited to 'sys/i386/include/intr_machdep.h')
-rw-r--r--sys/i386/include/intr_machdep.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/include/intr_machdep.h b/sys/i386/include/intr_machdep.h
index a988063..ff19346 100644
--- a/sys/i386/include/intr_machdep.h
+++ b/sys/i386/include/intr_machdep.h
@@ -84,6 +84,7 @@ struct intsrc {
struct intrframe;
extern struct mtx icu_lock;
+extern int elcr_found;
/* XXX: The elcr_* prototypes probably belong somewhere else. */
int elcr_probe(void);
OpenPOWER on IntegriCloud