aa64: finalise context switch, page fault handler and syscall
[lunaix-os.git] / lunaix-os / arch / aarch64 / soc / gic / default_ops.c
1 #include "gic-common.h"
2
3 int 
4 __fallback_set_enabled(struct gic_int_class* class, intid_t intid, bool en)
5 {
6     return 0;
7 }
8
9 int 
10 __fallback_set_prority(struct gic_int_class* class, intid_t intid, int prio)
11 {
12     return 0;
13 }
14
15 int 
16 __fallback_set_nmi(struct gic_int_class* class, intid_t intid, bool nmi)
17 {
18     return 0;
19 }
20
21 int 
22 __fallback_set_route(struct gic_int_class* class, 
23                 intid_t intid, struct gic_pe* target)
24 {
25     return 0;
26 }
27
28 int 
29 __fallback_set_trigger(struct gic_int_class* class, 
30                   intid_t intid, enum gic_trigger trig)
31 {
32     return 0;
33 }
34
35
36 int 
37 __fallback_retrieve(struct gic_int_class* class, 
38                struct gic_interrupt*, intid_t intid)
39 {
40     return 0;
41 }
42
43 int 
44 __fallback_install(struct gic_int_class* class, struct gic_interrupt* gic)
45 {
46     return 0;
47 }
48
49 int 
50 __fallback_delete(struct gic_int_class* class, intid_t intid)
51 {
52     return class->ops->set_enabled(class, intid, false);
53 }