Changeset 36df4109 in mainline for kernel/arch/sparc64/src/sun4u/sparc64.c
- Timestamp:
- 2016-06-06T16:29:56Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7510326
- Parents:
- 7f0580d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/sun4u/sparc64.c
r7f0580d r36df4109 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 sparc64_pre_mm_init(void); 56 static void sparc64_post_mm_init(void); 57 static void sparc64_post_smp_init(void); 58 59 arch_ops_t sparc64_ops = { 60 .pre_mm_init = sparc64_pre_mm_init, 61 .post_mm_init = sparc64_post_mm_init, 62 .post_smp_init = sparc64_post_smp_init, 63 }; 64 65 arch_ops_t *arch_ops = &sparc64_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)99 void sparc64_pre_mm_init(void) 87 100 { 88 101 if (config.cpu_active == 1) { … … 93 106 94 107 /** Perform sparc64 specific initialization afterr mm is initialized. */ 95 void arch_post_mm_init(void)108 void sparc64_post_mm_init(void) 96 109 { 97 110 if (config.cpu_active == 1) { … … 107 120 } 108 121 109 void arch_post_cpu_init(void) 110 { 111 } 112 113 void arch_pre_smp_init(void) 114 { 115 } 116 117 void arch_post_smp_init(void) 122 void sparc64_post_smp_init(void) 118 123 { 119 124 /* Currently the only supported platform for sparc64/sun4u is 'sun4u'. */
Note:
See TracChangeset
for help on using the changeset viewer.