Rev 435 | Rev 501 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 435 | Rev 470 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | */ |
27 | */ |
28 | 28 | ||
29 | #include <arch.h> |
29 | #include <arch.h> |
30 | #include <arch/ski/ski.h> |
30 | #include <arch/ski/ski.h> |
31 | #include <arch/drivers/it.h> |
31 | #include <arch/drivers/it.h> |
- | 32 | #include <arch/interrupt.h> |
|
- | 33 | #include <arch/barrier.h> |
|
- | 34 | #include <arch/types.h> |
|
32 | 35 | ||
33 | void arch_pre_mm_init(void) |
36 | void arch_pre_mm_init(void) |
34 | { |
37 | { |
- | 38 | /* Set Interruption Vector Address (i.e. location of interruption vector table). */ |
|
- | 39 | iva_write((__address) &ivt); |
|
- | 40 | srlz_d(); |
|
- | 41 | ||
35 | ski_init_console(); |
42 | ski_init_console(); |
36 | it_init(); |
43 | it_init(); |
37 | } |
44 | } |
38 | 45 | ||
39 | void arch_post_mm_init(void) |
46 | void arch_post_mm_init(void) |