Changeset 3652ad35 in rtems for c/src/lib/libbsp/powerpc/papyrus
- Timestamp:
- 09/19/95 14:53:29 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 38ffa0c
- Parents:
- b3ac6a8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/powerpc/papyrus/startup/bspstart.c
rb3ac6a8d r3652ad35 102 102 libc_init(0); /* non-reentrant */ 103 103 104 } 105 106 /* 107 * Function: bsp_pretasking_hook 108 * Created: 95/03/10 109 * 110 * Description: 111 * BSP pretasking hook. Called just before drivers are initialized. 112 * Used to setup libc and install any BSP extensions. 113 * 114 * NOTES: 115 * Must not use libc (to do io) from here, since drivers are 116 * not yet initialized. 117 * 118 */ 119 120 void 121 bsp_pretasking_hook(void) 122 { 123 bsp_libc_init(); 124 125 #ifdef STACK_CHECKER_ON 104 126 /* 105 127 * Initialize the stack bounds checker 106 * /107 108 #ifdef STACK_CHECKER_ON 128 * We can either turn it on here or from the app. 129 */ 130 109 131 Stack_check_Initialize(); 110 132 #endif 111 } 133 134 #ifdef RTEMS_DEBUG 135 rtems_debug_enable( RTEMS_DEBUG_ALL_MASK ); 136 #endif 137 } 138 112 139 113 140 /* … … 205 232 */ 206 233 207 /* 208 * we do not use the pretasking_hook 209 */ 210 211 Cpu_table.pretasking_hook = NULL; 212 213 Cpu_table.predriver_hook = bsp_libc_init; /* RTEMS resources available */ 234 Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ 235 236 Cpu_table.predriver_hook = NULL; 214 237 215 238 Cpu_table.postdriver_hook = bsp_postdriver_hook;
Note: See TracChangeset
for help on using the changeset viewer.