Changes in kernel/arch/ia64/src/ia64.c [2902e1bb:36df4109] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/src/ia64.c
r2902e1bb r36df4109 34 34 35 35 #include <arch.h> 36 #include <arch/arch.h> 36 37 #include <typedefs.h> 37 38 #include <errno.h> 38 39 #include <interrupt.h> 40 #include <arch/interrupt.h> 39 41 #include <macros.h> 40 42 #include <str.h> … … 59 61 #endif 60 62 63 static void ia64_pre_mm_init(void); 64 static void ia64_post_mm_init(void); 65 static void ia64_post_smp_init(void); 66 67 arch_ops_t ia64_ops = { 68 .pre_mm_init = ia64_pre_mm_init, 69 .post_mm_init = ia64_post_mm_init, 70 .post_smp_init = ia64_post_smp_init, 71 }; 72 73 arch_ops_t *arch_ops = &ia64_ops; 74 61 75 /* NS16550 as a COM 1 */ 62 76 #define NS16550_IRQ (4 + LEGACY_INTERRUPT_BASE) … … 68 82 69 83 /** Performs ia64-specific initialization before main_bsp() is called. */ 70 void arch_pre_main(void)84 void ia64_pre_main(void) 71 85 { 72 86 init.cnt = min3(bootinfo->taskmap.cnt, TASKMAP_MAX_RECORDS, … … 83 97 } 84 98 85 void arch_pre_mm_init(void) 86 { 99 void ia64_pre_mm_init(void) 100 { 101 if (config.cpu_active == 1) 102 exception_init(); 87 103 } 88 104 … … 114 130 } 115 131 116 void arch_post_mm_init(void)132 void ia64_post_mm_init(void) 117 133 { 118 134 if (config.cpu_active == 1) { … … 127 143 } 128 144 129 void arch_post_cpu_init(void) 130 { 131 } 132 133 void arch_pre_smp_init(void) 134 { 135 } 136 137 void arch_post_smp_init(void) 145 void ia64_post_smp_init(void) 138 146 { 139 147 static const char *platform; … … 173 181 #ifdef CONFIG_NS16550 174 182 ns16550_instance_t *ns16550_instance 175 = ns16550_init((ns16550_t *) NS16550_BASE, NS16550_IRQ, NULL, NULL); 183 = ns16550_init((ns16550_t *) NS16550_BASE, NS16550_IRQ, NULL, NULL, 184 NULL); 176 185 if (ns16550_instance) { 177 186 srln_instance_t *srln_instance = srln_init(); … … 246 255 } 247 256 248 /** Set thread-local-storage pointer.249 *250 * We use r13 (a.k.a. tp) for this purpose.251 */252 sysarg_t sys_tls_set(uintptr_t addr)253 {254 return EOK;255 }256 257 257 void arch_reboot(void) 258 258 {
Note:
See TracChangeset
for help on using the changeset viewer.