Changes in kernel/arch/sparc64/src/sun4u/sparc64.c [2902e1bb:7510326] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/sun4u/sparc64.c
r2902e1bb r7510326 34 34 35 35 #include <arch.h> 36 #include <arch/arch.h> 36 37 #include <debug.h> 37 38 #include <config.h> … … 52 53 #include <sysinfo/sysinfo.h> 53 54 55 static void sun4u_pre_mm_init(void); 56 static void sun4u_post_mm_init(void); 57 static void sun4u_post_smp_init(void); 58 59 arch_ops_t sun4u_ops = { 60 .pre_mm_init = sun4u_pre_mm_init, 61 .post_mm_init = sun4u_post_mm_init, 62 .post_smp_init = sun4u_post_smp_init, 63 }; 64 65 arch_ops_t *sparc64_ops = &sun4u_ops; 66 54 67 memmap_t memmap; 55 68 56 69 /** Perform sparc64-specific initialization before main_bsp() is called. */ 57 void arch_pre_main(bootinfo_t *bootinfo)70 void sparc64_pre_main(bootinfo_t *bootinfo) 58 71 { 59 72 /* Copy init task info. */ … … 84 97 85 98 /** Perform sparc64 specific initialization before mm is initialized. */ 86 void arch_pre_mm_init(void)87 { 88 if (config.cpu_active == 1) 99 void sun4u_pre_mm_init(void) 100 { 101 if (config.cpu_active == 1) { 89 102 trap_init(); 103 exc_arch_init(); 104 } 90 105 } 91 106 92 107 /** Perform sparc64 specific initialization afterr mm is initialized. */ 93 void arch_post_mm_init(void)108 void sun4u_post_mm_init(void) 94 109 { 95 110 if (config.cpu_active == 1) { … … 105 120 } 106 121 107 void arch_post_cpu_init(void) 108 { 109 } 110 111 void arch_pre_smp_init(void) 112 { 113 } 114 115 void arch_post_smp_init(void) 122 void sun4u_post_smp_init(void) 116 123 { 117 124 /* Currently the only supported platform for sparc64/sun4u is 'sun4u'. */
Note:
See TracChangeset
for help on using the changeset viewer.