The defines INTR_FAST and INTR_EXCL are part of the public interface. The

previous commit made them private which broke things.
This commit is contained in:
Doug Rabson 1997-06-02 10:46:28 +00:00
parent 6d47a3a499
commit 0c514a25a0
2 changed files with 5 additions and 4 deletions

View File

@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: kern_intr.c,v 1.4 1997/06/01 16:05:13 peter Exp $
* $Id: kern_intr.c,v 1.5 1997/06/02 08:19:06 dfr Exp $
*
*/
@ -55,8 +55,6 @@ typedef struct intrec {
int intr;
intrmask_t *maskptr;
int flags;
#define INTR_FAST 0x00000001 /* fast interrupt handler */
#define INTR_EXCL 0x00010000 /* excl. intr, default is shared */
} intrec;
/*

View File

@ -23,10 +23,13 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: interrupt.h,v 1.2 1997/05/31 09:33:29 peter Exp $
* $Id: interrupt.h,v 1.3 1997/06/01 16:05:14 peter Exp $
*/
/* XXX currently dev_instance must be set to the ISA device_id or -1 for PCI */
#define INTR_FAST 0x00000001 /* fast interrupt handler */
#define INTR_EXCL 0x00010000 /* excl. intr, default is shared */
struct intrec *intr_create(void *dev_instance, int irq, inthand2_t handler,
void *arg, intrmask_t *maskptr, int flags);