Rev 1787 | Rev 1792 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1787 | Rev 1790 | ||
|---|---|---|---|
| Line 37... | Line 37... | ||
| 37 | #include <arch/trap/trap.h> |
37 | #include <arch/trap/trap.h> |
| 38 | #include <arch/console.h> |
38 | #include <arch/console.h> |
| 39 | #include <arch/drivers/tick.h> |
39 | #include <arch/drivers/tick.h> |
| 40 | #include <proc/thread.h> |
40 | #include <proc/thread.h> |
| 41 | #include <console/console.h> |
41 | #include <console/console.h> |
| - | 42 | #include <arch/boot/boot.h> |
|
| - | 43 | ||
| - | 44 | bootinfo_t bootinfo; |
|
| 42 | 45 | ||
| 43 | #include <print.h> |
- | |
| 44 | #include <genarch/ofw/ofw.h> |
- | |
| 45 | #include <arch/asm.h> |
- | |
| 46 | #include <arch/register.h> |
- | |
| 47 | void arch_pre_mm_init(void) |
46 | void arch_pre_mm_init(void) |
| 48 | { |
47 | { |
| 49 | interrupts_disable(); |
- | |
| 50 | ofw_sparc64_console_init(); |
- | |
| 51 | - | ||
| 52 | trap_init(); |
48 | trap_init(); |
| 53 | tick_init(); |
49 | tick_init(); |
| 54 | } |
50 | } |
| 55 | 51 | ||
| 56 | void arch_post_mm_init(void) |
52 | void arch_post_mm_init(void) |