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