00001 /* src_experimental/kernel/ivtab.h 00002 CubeOS Version 0.4.90 experimental 00003 Copyright (C) 1999,2000 Holger Kenn 00004 00005 CubeOS is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License as published by the Free Software Foundation; either 00008 version 2 of the License, or any later version. 00009 00010 CubeOS is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 */ 00016 #ifndef _IVTAB_H 00017 #define _IVTAB_H 00018 00023 #define AVEC5 0x29 00024 00025 extern void (*(*_KERN_IVTab)[512]) (void); 00026 00027 extern void *_KERN_IVTab_oldvector[512]; 00028 00029 void _KERN_IVTab_init(); 00030 int _KERN_IVTab_setvector(unsigned short vector, void (*isr) (void)); 00031 int _KERN_IVTab_clearvector(unsigned short vector, void (*isr) (void)); 00032 00033 #endif