Changes in kernel/arch/ia64/src/ia64.c [36df4109:2902e1bb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/src/ia64.c
r36df4109 r2902e1bb 34 34 35 35 #include <arch.h> 36 #include <arch/arch.h>37 36 #include <typedefs.h> 38 37 #include <errno.h> 39 38 #include <interrupt.h> 40 #include <arch/interrupt.h>41 39 #include <macros.h> 42 40 #include <str.h> … … 61 59 #endif 62 60 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 75 61 /* NS16550 as a COM 1 */ 76 62 #define NS16550_IRQ (4 + LEGACY_INTERRUPT_BASE) … … 82 68 83 69 /** Performs ia64-specific initialization before main_bsp() is called. */ 84 void ia64_pre_main(void)70 void arch_pre_main(void) 85 71 { 86 72 init.cnt = min3(bootinfo->taskmap.cnt, TASKMAP_MAX_RECORDS, … … 97 83 } 98 84 99 void ia64_pre_mm_init(void) 100 { 101 if (config.cpu_active == 1) 102 exception_init(); 85 void arch_pre_mm_init(void) 86 { 103 87 } 104 88 … … 130 114 } 131 115 132 void ia64_post_mm_init(void)116 void arch_post_mm_init(void) 133 117 { 134 118 if (config.cpu_active == 1) { … … 143 127 } 144 128 145 void ia64_post_smp_init(void) 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) 146 138 { 147 139 static const char *platform; … … 181 173 #ifdef CONFIG_NS16550 182 174 ns16550_instance_t *ns16550_instance 183 = ns16550_init((ns16550_t *) NS16550_BASE, NS16550_IRQ, NULL, NULL, 184 NULL); 175 = ns16550_init((ns16550_t *) NS16550_BASE, NS16550_IRQ, NULL, NULL); 185 176 if (ns16550_instance) { 186 177 srln_instance_t *srln_instance = srln_init(); … … 255 246 } 256 247 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.