Last change
on this file was 142, checked in by ktk, 25 years ago |
Import
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.4 KB
|
Rev | Line | |
---|
[142] | 1 | /* $Id: irqos2.h 142 2000-04-23 14:55:46Z ktk $ */
|
---|
| 2 |
|
---|
| 3 | //******************************************************************************
|
---|
| 4 | // Header for irq definitions/structures
|
---|
| 5 | //
|
---|
| 6 | // Copyright 2000 Sander van Leeuwen (sandervl@xs4all.nl)
|
---|
| 7 | //
|
---|
| 8 | // This program is free software; you can redistribute it and/or
|
---|
| 9 | // modify it under the terms of the GNU General Public License as
|
---|
| 10 | // published by the Free Software Foundation; either version 2 of
|
---|
| 11 | // the License, or (at your option) any later version.
|
---|
| 12 | //
|
---|
| 13 | // This program is distributed in the hope that it will be useful,
|
---|
| 14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 16 | // GNU General Public License for more details.
|
---|
| 17 | //
|
---|
| 18 | // You should have received a copy of the GNU General Public
|
---|
| 19 | // License along with this program; if not, write to the Free
|
---|
| 20 | // Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
|
---|
| 21 | // USA.
|
---|
| 22 | //
|
---|
| 23 | //******************************************************************************
|
---|
| 24 | #ifndef __IRQ_H__
|
---|
| 25 | #define __IRQ_H__
|
---|
| 26 |
|
---|
| 27 | #define MAX_SHAREDIRQS 4
|
---|
| 28 | #define MAX_IRQS 16
|
---|
| 29 |
|
---|
| 30 | typedef void (NEAR * IRQHANDLER)(int, void *, void *);
|
---|
| 31 |
|
---|
| 32 | typedef struct {
|
---|
| 33 | IRQHANDLER handler;
|
---|
| 34 | ULONG x0;
|
---|
| 35 | char *x1;
|
---|
| 36 | void *x2;
|
---|
| 37 | } IRQHANDLER_INFO;
|
---|
| 38 |
|
---|
| 39 | #ifdef __cplusplus
|
---|
| 40 | extern "C" {
|
---|
| 41 | #endif
|
---|
| 42 |
|
---|
| 43 | BOOL _cdecl oss_process_interrupt(int irq);
|
---|
| 44 |
|
---|
| 45 | #ifdef __cplusplus
|
---|
| 46 | }
|
---|
| 47 | #endif
|
---|
| 48 |
|
---|
| 49 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.