diff options
author | peter <peter@FreeBSD.org> | 2000-04-29 07:48:37 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-04-29 07:48:37 +0000 |
commit | 920a30a1c5840a0e3113beca7f9add08565959b1 (patch) | |
tree | 8bf868927a2bfd2d119fbeef293521a8ea722aea /sys/amd64/isa | |
parent | 1aa88f68898454a77f9816d0ce7b8f744d9a6bc9 (diff) | |
download | FreeBSD-src-920a30a1c5840a0e3113beca7f9add08565959b1.zip FreeBSD-src-920a30a1c5840a0e3113beca7f9add08565959b1.tar.gz |
Mark two functions as private.
Diffstat (limited to 'sys/amd64/isa')
-rw-r--r-- | sys/amd64/isa/intr_machdep.c | 3 | ||||
-rw-r--r-- | sys/amd64/isa/intr_machdep.h | 5 | ||||
-rw-r--r-- | sys/amd64/isa/nmi.c | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/sys/amd64/isa/intr_machdep.c b/sys/amd64/isa/intr_machdep.c index d1f46ca..f9eb11b 100644 --- a/sys/amd64/isa/intr_machdep.c +++ b/sys/amd64/isa/intr_machdep.c @@ -723,6 +723,9 @@ add_intrdesc(intrec *idesc) * Add the interrupt handler descriptor data structure created by an * earlier call of create_intr() to the linked list for its irq and * adjust the interrupt masks if necessary. + * + * WARNING: This is an internal function and not to be used by device + * drivers. It is subject to change without notice. */ intrec * diff --git a/sys/amd64/isa/intr_machdep.h b/sys/amd64/isa/intr_machdep.h index cc6ca67..5982295 100644 --- a/sys/amd64/isa/intr_machdep.h +++ b/sys/amd64/isa/intr_machdep.h @@ -201,6 +201,11 @@ intrmask_t splq __P((intrmask_t mask)); #define INTR_FAST 0x00000001 /* fast interrupt handler */ #define INTR_EXCL 0x00010000 /* excl. intr, default is shared */ + +/* + * WARNING: These are internal functions and not to be used by device drivers! + * They are subject to change without notice. + */ struct intrec *inthand_add(const char *name, int irq, inthand2_t handler, void *arg, intrmask_t *maskptr, int flags); diff --git a/sys/amd64/isa/nmi.c b/sys/amd64/isa/nmi.c index d1f46ca..f9eb11b 100644 --- a/sys/amd64/isa/nmi.c +++ b/sys/amd64/isa/nmi.c @@ -723,6 +723,9 @@ add_intrdesc(intrec *idesc) * Add the interrupt handler descriptor data structure created by an * earlier call of create_intr() to the linked list for its irq and * adjust the interrupt masks if necessary. + * + * WARNING: This is an internal function and not to be used by device + * drivers. It is subject to change without notice. */ intrec * |