Changeset f4a59e33 in rtems
- Timestamp:
- 10/21/04 08:17:43 (19 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 1768b06
- Parents:
- 24c094c
- Location:
- c/src/lib/libbsp/powerpc/mvme5500
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/powerpc/mvme5500/ChangeLog
r24c094c rf4a59e33 1 2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * start/preload.S, include/bsp.h, vectors/exceptionhandler.c, 4 startup/bspstart.c: Misc. adaptations to rtems-4.7. 5 1 6 2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org> 2 7 -
c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h
r24c094c rf4a59e33 18 18 19 19 #include <rtems.h> 20 #include < console.h>21 #include < clockdrv.h>20 #include <rtems/console.h> 21 #include <rtems/clockdrv.h> 22 22 #include <libcpu/io.h> 23 23 #include <bsp/vectors.h> -
c/src/lib/libbsp/powerpc/mvme5500/start/preload.S
r24c094c rf4a59e33 86 86 87 87 #include <rtems/score/cpu.h> 88 #include < asm.h>88 #include <rtems/asm.h> 89 89 90 90 /* Note that major modifications may be needed -
c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c
r24c094c rf4a59e33 62 62 #include <rtems/score/wkspace.h> 63 63 64 rtems_unsigned32 65 _bsp_sbrk_init( rtems_unsigned32 heap_start, rtems_unsigned32*heap_size_p);64 uint32_t 65 _bsp_sbrk_init(uint32_t heap_start, uint32_t *heap_size_p); 66 66 67 67 /* provide access to the command line parameters */ … … 135 135 { 136 136 unsigned long rval; 137 rval = (( rtems_unsigned32) __rtems_end) +INIT_STACK_SIZE + INTR_STACK_SIZE;137 rval = ((uint32_t) __rtems_end) +INIT_STACK_SIZE + INTR_STACK_SIZE; 138 138 if (rval & (CPU_ALIGNMENT-1)) 139 139 rval = (rval + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1); … … 190 190 void bsp_pretasking_hook(void) 191 191 { 192 rtems_unsigned32heap_start=heapStart();193 rtems_unsigned32heap_size,heap_sbrk_spared;192 uint32_t heap_start=heapStart(); 193 uint32_t heap_size,heap_sbrk_spared; 194 194 char *buf; 195 extern rtems_unsigned32 _bsp_sbrk_init(rtems_unsigned32, rtems_unsigned32*);195 extern uint32_t _bsp_sbrk_init(uint32_t, uint32_t*); 196 196 197 197 heap_size = (BSP_mem_size - heap_start) - BSP_Configuration.work_space_size; -
c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c
r24c094c rf4a59e33 43 43 BSP_exceptionHandler(BSP_Exception_frame* excPtr) 44 44 { 45 rtems_unsigned32note;45 uint32_t note; 46 46 BSP_ExceptionExtension ext=0; 47 47 rtems_id id=0; … … 148 148 } 149 149 if (excPtr->EXC_SRR1 & (SRR1_MCP_EXC)) { 150 unsigned char c1,c2;151 unsigned int l;152 150 unsigned long gerr; 153 151 … … 181 179 /* if there's a highlevel hook, install it */ 182 180 if (ext && ext->highlevelHook) { 183 excPtr->EXC_SRR0 = ( rtems_unsigned32)ext->highlevelHook;184 excPtr->GPR3 = ( rtems_unsigned32)ext;181 excPtr->EXC_SRR0 = (uint32_t)ext->highlevelHook; 182 excPtr->GPR3 = (uint32_t)ext; 185 183 return; 186 184 }
Note: See TracChangeset
for help on using the changeset viewer.