Rev 1537 | Rev 1686 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1537 | Rev 1642 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | #include <memstr.h> |
38 | #include <memstr.h> |
39 | #include <proc/thread.h> |
39 | #include <proc/thread.h> |
40 | #include <proc/uarg.h> |
40 | #include <proc/uarg.h> |
41 | #include <print.h> |
41 | #include <print.h> |
42 | #include <syscall/syscall.h> |
42 | #include <syscall/syscall.h> |
- | 43 | #include <sysinfo/sysinfo.h> |
|
43 | 44 | ||
44 | #include <arch/interrupt.h> |
45 | #include <arch/interrupt.h> |
45 | #include <arch/drivers/arc.h> |
46 | #include <arch/drivers/arc.h> |
46 | #include <console/chardev.h> |
47 | #include <console/chardev.h> |
47 | #include <arch/debugger.h> |
48 | #include <arch/debugger.h> |
48 | #include <genarch/fb/fb.h> |
49 | #include <genarch/fb/fb.h> |
- | 50 | #include <debug.h> |
|
49 | 51 | ||
50 | #include <arch/asm/regname.h> |
52 | #include <arch/asm/regname.h> |
51 | 53 | ||
52 | /* Size of the code jumping to the exception handler code |
54 | /* Size of the code jumping to the exception handler code |
53 | * - J+NOP |
55 | * - J+NOP |
Line 114... | Line 116... | ||
114 | void arch_post_mm_init(void) |
116 | void arch_post_mm_init(void) |
115 | { |
117 | { |
116 | #ifdef CONFIG_FB |
118 | #ifdef CONFIG_FB |
117 | fb_init(0x12000000, 640, 480, 24, 1920); // gxemul framebuffer |
119 | fb_init(0x12000000, 640, 480, 24, 1920); // gxemul framebuffer |
118 | #endif |
120 | #endif |
- | 121 | sysinfo_set_item_val("machine." STRING(MACHINE),NULL,1); |
|
119 | } |
122 | } |
120 | 123 | ||
121 | void arch_pre_smp_init(void) |
124 | void arch_pre_smp_init(void) |
122 | { |
125 | { |
123 | } |
126 | } |