projects
/
rpikern
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fighting with interrupt vectors
[rpikern]
/
src
/
intr.h
1
#ifndef INTR_H_
2
#define INTR_H_
3
4
#include <stdint.h>
5
6
enum {
7
INTR_RESET,
8
INTR_UNDEF,
9
INTR_SWI,
10
INTR_IABORT,
11
INTR_DABORT,
12
INTR_IRQ,
13
INTR_FIQ
14
};
15
16
void intr_init(void);
17
void setvect(int idx, uint32_t addr);
18
19
void enable_arm_irq(int irq);
20
void disable_arm_irq(int irq);
21
22
void enable_gpu_irq(int irq);
23
void disable_gpu_irq(int irq);
24
25
#endif /* INTR_H_ */