Changeset 3652ad35 in rtems for c/src/lib/libbsp/m68k/dmv152
- 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/dmv152
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/dmv152/console/console.c
rb3ac6a8d r3652ad35 231 231 outbyte( buffer[ count ] ); 232 232 } 233 return maximum; 233 234 rw_args->bytes_moved = maximum; 235 return 0; 234 236 } 235 237 -
c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c
rb3ac6a8d r3652ad35 76 76 else 77 77 libc_init(0); /* non-reentrant */ 78 78 } 79 80 /* 81 * Function: bsp_pretasking_hook 82 * Created: 95/03/10 83 * 84 * Description: 85 * BSP pretasking hook. Called just before drivers are initialized. 86 * Used to setup libc and install any BSP extensions. 87 * 88 * NOTES: 89 * Must not use libc (to do io) from here, since drivers are 90 * not yet initialized. 91 * 92 */ 93 94 void 95 bsp_pretasking_hook(void) 96 { 97 bsp_libc_init(); 98 99 #ifdef STACK_CHECKER_ON 79 100 /* 80 101 * Initialize the stack bounds checker 102 * We can either turn it on here or from the app. 81 103 */ 82 83 #ifdef STACK_CHECKER_ON 104 84 105 Stack_check_Initialize(); 85 106 #endif 86 } 107 108 #ifdef RTEMS_DEBUG 109 rtems_debug_enable( RTEMS_DEBUG_ALL_MASK ); 110 #endif 111 } 112 87 113 88 114 /* … … 159 185 */ 160 186 161 Cpu_table.pretasking_hook = NULL;162 163 Cpu_table.predriver_hook = bsp_libc_init; /* RTEMS resources available */187 Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ 188 189 Cpu_table.predriver_hook = NULL; 164 190 165 191 Cpu_table.postdriver_hook = bsp_postdriver_hook;
Note: See TracChangeset
for help on using the changeset viewer.