Changeset 3652ad35 in rtems for c/src/lib/libbsp/i386
- 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
- Location:
- c/src/lib/libbsp/i386
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/i386/force386/console/console.c
rb3ac6a8d r3652ad35 267 267 outbyte( buffer[ count ] ); 268 268 } 269 return maximum; 269 270 rw_args->bytes_moved = maximum; 271 return 0; 270 272 } 271 273 -
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; -
c/src/lib/libbsp/i386/go32/console/console.c
rb3ac6a8d r3652ad35 238 238 outbyte( buffer[ count ] ); 239 239 } 240 return maximum; 240 241 rw_args->bytes_moved = maximum; 242 return 0; 241 243 } 242 244 -
c/src/lib/libbsp/i386/go32/startup/bspstart.c
rb3ac6a8d r3652ad35 82 82 else 83 83 libc_init(0); /* non-reentrant */ 84 84 } 85 86 /* 87 * Function: bsp_pretasking_hook 88 * Created: 95/03/10 89 * 90 * Description: 91 * BSP pretasking hook. Called just before drivers are initialized. 92 * Used to setup libc and install any BSP extensions. 93 * 94 * NOTES: 95 * Must not use libc (to do io) from here, since drivers are 96 * not yet initialized. 97 * 98 */ 99 100 void 101 bsp_pretasking_hook(void) 102 { 103 bsp_libc_init(); 104 105 #ifdef STACK_CHECKER_ON 85 106 /* 86 107 * Initialize the stack bounds checker 108 * We can either turn it on here or from the app. 87 109 */ 88 89 #ifdef STACK_CHECKER_ON 110 90 111 Stack_check_Initialize(); 91 112 #endif 92 93 } 94 113 114 #ifdef RTEMS_DEBUG 115 rtems_debug_enable( RTEMS_DEBUG_ALL_MASK ); 116 #endif 117 } 118 119 95 120 /* 96 121 * After drivers are setup, register some "filenames" … … 139 164 rtems_progname = "RTEMS"; 140 165 141 Cpu_table.pretasking_hook = NULL;142 Cpu_table.predriver_hook = bsp_libc_init; /* RTEMS resources available */166 Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ 167 Cpu_table.predriver_hook = NULL; 143 168 Cpu_table.postdriver_hook = bsp_postdriver_hook; 144 169 Cpu_table.idle_task = NULL; /* do not override system IDLE task */
Note: See TracChangeset
for help on using the changeset viewer.