Changes in kernel/generic/include/arch.h [d4d36f9:7510326] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/arch.h
rd4d36f9 r7510326 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_STRUCT_OP(s, op) \ 92 do { \ 93 if ((s)->op) \ 94 (s)->op(); \ 95 } while (0) 96 97 #define ARCH_OP(op) ARCH_STRUCT_OP(arch_ops, op) 98 82 99 extern void the_initialize(the_t *); 83 100 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 101 91 102 extern void calibrate_delay_loop(void); … … 95 106 extern void *arch_construct_function(fncptr_t *, void *, void *); 96 107 97 98 108 #endif 99 109
Note:
See TracChangeset
for help on using the changeset viewer.