Changeset 3652ad35 in rtems for c/src/lib/libbsp/m68k/gen68302
- 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/m68k/gen68302
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/gen68302/console/console.c
rb3ac6a8d r3652ad35 286 286 outbyte( buffer[ count ] ); 287 287 } 288 return maximum; 288 289 rw_args->bytes_moved = maximum; 290 return 0; 289 291 } 290 292 -
c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c
rb3ac6a8d r3652ad35 83 83 else 84 84 libc_init(0); /* non-reentrant */ 85 85 } 86 87 /* 88 * Function: bsp_pretasking_hook 89 * Created: 95/03/10 90 * 91 * Description: 92 * BSP pretasking hook. Called just before drivers are initialized. 93 * Used to setup libc and install any BSP extensions. 94 * 95 * NOTES: 96 * Must not use libc (to do io) from here, since drivers are 97 * not yet initialized. 98 * 99 */ 100 101 void 102 bsp_pretasking_hook(void) 103 { 104 bsp_libc_init(); 105 106 #ifdef STACK_CHECKER_ON 86 107 /* 87 108 * Initialize the stack bounds checker 88 * /89 90 #ifdef STACK_CHECKER_ON 109 * We can either turn it on here or from the app. 110 */ 111 91 112 Stack_check_Initialize(); 92 113 #endif 93 } 114 115 #ifdef RTEMS_DEBUG 116 rtems_debug_enable( RTEMS_DEBUG_ALL_MASK ); 117 #endif 118 } 119 94 120 95 121 /* … … 193 219 */ 194 220 195 Cpu_table.pretasking_hook = NULL;196 197 Cpu_table.predriver_hook = bsp_libc_init; /* RTEMS resources available */221 Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ 222 223 Cpu_table.predriver_hook = NULL; 198 224 199 225 Cpu_table.postdriver_hook = bsp_postdriver_hook;
Note: See TracChangeset
for help on using the changeset viewer.