Changeset 3652ad35 in rtems for c/src/lib/libbsp/i386/force386/startup
- 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/i386/force386/startup/bspstart.c
rb3ac6a8d r3652ad35 75 75 else 76 76 libc_init(0); /* non-reentrant */ 77 77 } 78 79 /* 80 * Function: bsp_pretasking_hook 81 * Created: 95/03/10 82 * 83 * Description: 84 * BSP pretasking hook. Called just before drivers are initialized. 85 * Used to setup libc and install any BSP extensions. 86 * 87 * NOTES: 88 * Must not use libc (to do io) from here, since drivers are 89 * not yet initialized. 90 * 91 */ 92 93 void 94 bsp_pretasking_hook(void) 95 { 96 bsp_libc_init(); 97 98 #ifdef STACK_CHECKER_ON 78 99 /* 79 100 * Initialize the stack bounds checker 101 * We can either turn it on here or from the app. 80 102 */ 81 82 #ifdef STACK_CHECKER_ON 103 83 104 Stack_check_Initialize(); 84 105 #endif 85 86 } 106 107 #ifdef RTEMS_DEBUG 108 rtems_debug_enable( RTEMS_DEBUG_ALL_MASK ); 109 #endif 110 } 111 87 112 88 113 /* … … 136 161 */ 137 162 138 Cpu_table.pretasking_hook = NULL;139 140 Cpu_table.predriver_hook = bsp_libc_init; /* RTEMS resources available */163 Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ 164 165 Cpu_table.predriver_hook = NULL; 141 166 142 167 Cpu_table.postdriver_hook = bsp_postdriver_hook;
Note: See TracChangeset
for help on using the changeset viewer.