Changes in kernel/arch/sparc64/src/sun4v/sparc64.c [cade9c1:7510326] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/sun4v/sparc64.c
rcade9c1 r7510326 34 34 35 35 #include <arch.h> 36 #include <arch/arch.h> 36 37 #include <debug.h> 37 38 #include <config.h> … … 54 55 #include <sysinfo/sysinfo.h> 55 56 57 static void sun4v_pre_mm_init(void); 58 static void sun4v_post_mm_init(void); 59 static void sun4v_post_smp_init(void); 60 61 arch_ops_t sun4v_ops = { 62 .pre_mm_init = sun4v_pre_mm_init, 63 .post_mm_init = sun4v_post_mm_init, 64 .post_smp_init = sun4v_post_smp_init, 65 }; 66 67 arch_ops_t *sparc64_ops = &sun4v_ops; 68 56 69 memmap_t memmap; 57 70 58 71 /** Perform sparc64-specific initialization before main_bsp() is called. */ 59 void arch_pre_main(bootinfo_t *bootinfo)72 void sparc64_pre_main(bootinfo_t *bootinfo) 60 73 { 61 74 /* Copy init task info. */ … … 82 95 83 96 /** Perform sparc64 specific initialization before mm is initialized. */ 84 void arch_pre_mm_init(void)97 void sun4v_pre_mm_init(void) 85 98 { 86 99 if (config.cpu_active == 1) { … … 91 104 92 105 /** Perform sparc64 specific initialization afterr mm is initialized. */ 93 void arch_post_mm_init(void)106 void sun4v_post_mm_init(void) 94 107 { 95 108 if (config.cpu_active == 1) { … … 105 118 } 106 119 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) 120 void sun4v_post_smp_init(void) 116 121 { 117 122 /* Currently the only supported platform for sparc64/sun4v is 'sun4v'. */
Note:
See TracChangeset
for help on using the changeset viewer.