Changeset 36df4109 in mainline for kernel/generic/include/arch.h
- 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/generic/include/arch.h
r7f0580d r36df4109 36 36 #define KERN_ARCH_H_ 37 37 38 #include <arch/arch.h> /* arch_pre_main() */39 38 #include <arch/asm.h> /* get_stack_base() */ 40 39 #include <config.h> … … 80 79 } the_t; 81 80 81 typedef struct { 82 void (* pre_mm_init)(void); 83 void (* post_mm_init)(void); 84 void (* post_cpu_init)(void); 85 void (* pre_smp_init)(void); 86 void (* post_smp_init)(void); 87 } arch_ops_t; 88 89 extern arch_ops_t *arch_ops; 90 91 #define ARCH_OP(op) \ 92 do { \ 93 if (arch_ops->op) \ 94 arch_ops->op(); \ 95 } while (0) 96 82 97 extern void the_initialize(the_t *); 83 98 extern void the_copy(the_t *, the_t *); 84 85 extern void arch_pre_mm_init(void);86 extern void arch_post_mm_init(void);87 extern void arch_post_cpu_init(void);88 extern void arch_pre_smp_init(void);89 extern void arch_post_smp_init(void);90 99 91 100 extern void calibrate_delay_loop(void); … … 95 104 extern void *arch_construct_function(fncptr_t *, void *, void *); 96 105 97 98 106 #endif 99 107
Note:
See TracChangeset
for help on using the changeset viewer.