summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/interrupt.h
blob: 9ae63f9f6fe0086ba491c2c6d98a3abb7fd3605e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#ifndef JOVE_ARCH_INTERRUPT_H
#define JOVE_ARCH_INTERRUPT_H 1

#include "cpu.h"

/**Register a handler for a specified interrupt code.
 * @param code interrupt to handle.
 * @param handler to call.*/
void int_set_handler(unsigned char code, struct Registers *(*handler)(struct Registers*));

#endif