Changeset 36df4109 in mainline for kernel/arch/sparc32/src/sparc32.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/sparc32/src/sparc32.c
r7f0580d r36df4109 34 34 35 35 #include <arch.h> 36 #include <arch/arch.h> 36 37 #include <typedefs.h> 37 38 #include <arch/interrupt.h> … … 54 55 #include <str.h> 55 56 57 static void sparc32_post_mm_init(void); 58 static void sparc32_post_smp_init(void); 59 60 arch_ops_t sparc32_ops = { 61 .post_mm_init = sparc32_post_mm_init, 62 .post_smp_init = sparc32_post_smp_init, 63 }; 64 65 arch_ops_t *arch_ops = &sparc32_ops; 66 56 67 char memcpy_from_uspace_failover_address; 57 68 char memcpy_to_uspace_failover_address; … … 59 70 static bootinfo_t machine_bootinfo; 60 71 61 void arch_pre_main(void *unused, bootinfo_t *bootinfo)72 void sparc32_pre_main(void *unused, bootinfo_t *bootinfo) 62 73 { 63 74 init.cnt = min3(bootinfo->cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); … … 74 85 } 75 86 76 void arch_pre_mm_init(void) 77 { 78 } 79 80 extern void func1(void); 81 82 void arch_post_mm_init(void) 87 void sparc32_post_mm_init(void) 83 88 { 84 89 machine_init(&machine_bootinfo); … … 95 100 } 96 101 97 98 void arch_post_cpu_init(void) 99 { 100 } 101 102 void arch_pre_smp_init(void) 103 { 104 } 105 106 void arch_post_smp_init(void) 102 void sparc32_post_smp_init(void) 107 103 { 108 104 machine_input_init();
Note:
See TracChangeset
for help on using the changeset viewer.