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