2 ** Copyright 2001-2004, Travis Geiselbrecht. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
8 #include <boot/stage2.h>
9 #include <kernel/arch/int.h>
11 int int_init(kernel_args
*ka
);
12 int int_init2(kernel_args
*ka
);
13 int int_io_interrupt_handler(int vector
);
14 int int_set_io_interrupt_handler(int vector
, int (*func
)(void*), void* data
, const char *name
);
15 int int_remove_io_interrupt_handler(int vector
, int (*func
)(void*), void* data
);
17 void int_enable_interrupts(void);
18 void int_disable_interrupts(void);
19 void int_restore_interrupts(void);
20 bool int_are_interrupts_enabled(void);