Subversion Repositories HelenOS

Rev

Rev 1888 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1888 Rev 1928
Line 35... Line 35...
35
#ifndef KERN_ppc32_INTERRUPT_H_
35
#ifndef KERN_ppc32_INTERRUPT_H_
36
#define KERN_ppc32_INTERRUPT_H_
36
#define KERN_ppc32_INTERRUPT_H_
37
 
37
 
38
#include <arch/exception.h>
38
#include <arch/exception.h>
39
 
39
 
40
#define IRQ_COUNT   64
40
#define IVT_ITEMS 16
41
 
-
 
42
#define IVT_ITEMS   (16 + IRQ_COUNT)
-
 
43
#define INT_OFFSET  16
41
#define IVT_FIRST 0
44
 
-
 
45
#define int_register(it, name, handler) exc_register(((it) + INT_OFFSET), name, handler)
-
 
46
 
42
 
47
#define VECTOR_DATA_STORAGE 2
43
#define VECTOR_DATA_STORAGE 2
48
#define VECTOR_INSTRUCTION_STORAGE 3
44
#define VECTOR_INSTRUCTION_STORAGE 3
49
#define VECTOR_EXTERNAL 4
45
#define VECTOR_EXTERNAL 4
50
#define VECTOR_DECREMENTER 8
46
#define VECTOR_DECREMENTER 8