Rev 534 | Rev 919 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 534 | Rev 577 | ||
---|---|---|---|
Line 30... | Line 30... | ||
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> |
32 | #include <arch/interrupt.h> |
33 | #include <arch/barrier.h> |
33 | #include <arch/barrier.h> |
34 | #include <arch/types.h> |
34 | #include <arch/types.h> |
35 | #include <arch/drivers/keyboard.h> |
- | |
36 | 35 | ||
37 | #include <console/console.h> |
36 | #include <console/console.h> |
38 | 37 | ||
39 | void arch_pre_mm_init(void) |
38 | void arch_pre_mm_init(void) |
40 | { |
39 | { |
41 | /* Set Interruption Vector Address (i.e. location of interruption vector table). */ |
40 | /* Set Interruption Vector Address (i.e. location of interruption vector table). */ |
42 | iva_write((__address) &ivt); |
41 | iva_write((__address) &ivt); |
43 | srlz_d(); |
42 | srlz_d(); |
44 | 43 | ||
45 | ski_init_console(); |
44 | ski_init_console(); |
46 | keyboard_init(); |
- | |
47 | it_init(); |
45 | it_init(); |
48 | } |
46 | } |
49 | 47 | ||
50 | void arch_post_mm_init(void) |
48 | void arch_post_mm_init(void) |
51 | { |
49 | { |