Changeset f4a59e33 in rtems


Ignore:
Timestamp:
Oct 21, 2004, 8:17:43 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1768b06
Parents:
24c094c
Message:

2004-10-21 Ralf Corsepius <ralf_corsepius@…>

  • start/preload.S, include/bsp.h, vectors/exceptionhandler.c, startup/bspstart.c: Misc. adaptations to rtems-4.7.
Location:
c/src/lib/libbsp/powerpc/mvme5500
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mvme5500/ChangeLog

    r24c094c rf4a59e33  
     12004-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
    162004-10-21      Ralf Corsepius <ralf_corsepius@rtems.org>
    27
  • c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h

    r24c094c rf4a59e33  
    1818
    1919#include <rtems.h>
    20 #include <console.h>
    21 #include <clockdrv.h>
     20#include <rtems/console.h>
     21#include <rtems/clockdrv.h>
    2222#include <libcpu/io.h>
    2323#include <bsp/vectors.h>
  • c/src/lib/libbsp/powerpc/mvme5500/start/preload.S

    r24c094c rf4a59e33  
    8686
    8787#include <rtems/score/cpu.h>
    88 #include <asm.h>
     88#include <rtems/asm.h>
    8989
    9090/* Note that major modifications may be needed
  • c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c

    r24c094c rf4a59e33  
    6262#include <rtems/score/wkspace.h>
    6363
    64 rtems_unsigned32
    65 _bsp_sbrk_init(rtems_unsigned32 heap_start, rtems_unsigned32 *heap_size_p);
     64uint32_t
     65_bsp_sbrk_init(uint32_t heap_start, uint32_t *heap_size_p);
    6666
    6767/* provide access to the command line parameters */
     
    135135{
    136136unsigned 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;
    138138    if (rval & (CPU_ALIGNMENT-1))
    139139        rval = (rval + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
     
    190190void bsp_pretasking_hook(void)
    191191{
    192     rtems_unsigned32        heap_start=heapStart();   
    193     rtems_unsigned32        heap_size,heap_sbrk_spared;
     192    uint32_t        heap_start=heapStart();   
     193    uint32_t        heap_size,heap_sbrk_spared;
    194194    char                    *buf;
    195     extern rtems_unsigned32 _bsp_sbrk_init(rtems_unsigned32, rtems_unsigned32*);
     195    extern uint32_t _bsp_sbrk_init(uint32_t, uint32_t*);
    196196
    197197    heap_size = (BSP_mem_size - heap_start) - BSP_Configuration.work_space_size;
  • c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c

    r24c094c rf4a59e33  
    4343BSP_exceptionHandler(BSP_Exception_frame* excPtr)
    4444{
    45 rtems_unsigned32        note;
     45uint32_t        note;
    4646BSP_ExceptionExtension  ext=0;
    4747rtems_id                id=0;
     
    148148           }
    149149           if (excPtr->EXC_SRR1 & (SRR1_MCP_EXC)) {
    150               unsigned char c1,c2;
    151               unsigned int  l;
    152150              unsigned long gerr;
    153151
     
    181179                        /* if there's a highlevel hook, install it */
    182180                        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;
    185183                                return;
    186184                        }
Note: See TracChangeset for help on using the changeset viewer.