diff options
author | jhb <jhb@FreeBSD.org> | 2012-03-09 19:42:48 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2012-03-09 19:42:48 +0000 |
commit | d6f48ea8cc824233cf311f52698aa98f62065584 (patch) | |
tree | bf27eb31fac1ca30ea2152bdc3f12d14df7dd127 /sys/i386/include/intr_machdep.h | |
parent | 54d8cc97bcf8a99f389868615106ee6be57bdd11 (diff) | |
download | FreeBSD-src-d6f48ea8cc824233cf311f52698aa98f62065584.zip FreeBSD-src-d6f48ea8cc824233cf311f52698aa98f62065584.tar.gz |
Allow a native i386 kernel to be built with 'nodevice atpic'. Just as on
amd64, if 'device isa' is present quiesce the 8259A's during boot and
resume from suspend.
While here, be more selective on amd64 about which kernel configurations
need elcr.c.
MFC after: 2 weeks
Diffstat (limited to 'sys/i386/include/intr_machdep.h')
-rw-r--r-- | sys/i386/include/intr_machdep.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/i386/include/intr_machdep.h b/sys/i386/include/intr_machdep.h index bcff6c2..2fcbf32 100644 --- a/sys/i386/include/intr_machdep.h +++ b/sys/i386/include/intr_machdep.h @@ -123,6 +123,9 @@ struct trapframe; extern struct mtx icu_lock; extern int elcr_found; +#ifndef DEV_ATPIC +void atpic_reset(void); +#endif /* XXX: The elcr_* prototypes probably belong somewhere else. */ int elcr_probe(void); enum intr_trigger elcr_read_trigger(u_int irq); |