Changeset e7791906 in rtems


Ignore:
Timestamp:
Sep 16, 2008, 7:03:42 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
c6fb8ed4
Parents:
4773369
Message:

2008-09-16 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac, clock/ckinit.c, startup/bspstart.c: Add use of bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization. Remove unnecessary includes of rtems/libio.h and rtems/libcsupport.h.
Location:
c/src/lib/libbsp/m68k/mvme167
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/mvme167/ChangeLog

    r4773369 re7791906  
     12008-09-16      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * Makefile.am, configure.ac, clock/ckinit.c, startup/bspstart.c: Add
     4        use of bsp_get_work_area() in its own file and rely on BSP Framework
     5        to perform more initialization. Remove unnecessary includes of
     6        rtems/libio.h and rtems/libcsupport.h.
     7
    182008-09-10      Joel Sherrill <joel.sherrill@oarcorp.com>
    29
  • c/src/lib/libbsp/m68k/mvme167/Makefile.am

    r4773369 re7791906  
    3333startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
    3434    ../../shared/bsppredriverhook.c \
     35    ../../m68k/shared/m68kbspgetworkarea.c \
    3536    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
    36     ../../m68k/shared/m68kpretaskinghook.c \
    37     startup/page_table.c ../../shared/sbrk.c ../../m68k/shared/setvec.c \
     37    ../../shared/bsppretaskinghook.c startup/page_table.c \
     38    ../../shared/sbrk.c ../../m68k/shared/setvec.c \
    3839    ../../shared/gnatinstallhandler.c
    3940clock_SOURCES = clock/ckinit.c
  • c/src/lib/libbsp/m68k/mvme167/clock/ckinit.c

    r4773369 re7791906  
    2929#include <stdlib.h>
    3030#include <bsp.h>
    31 #include <rtems/libio.h>
    3231
    3332#define MS_COUNT          1000              /* T2's countdown constant (1 ms) */
  • c/src/lib/libbsp/m68k/mvme167/configure.ac

    r4773369 re7791906  
    5252      3 - /dev/tty3, Serial Port 4 on the MVME712M.])
    5353
     54RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION
     55
    5456# Explicitly list all Makefiles here
    5557AC_CONFIG_FILES([Makefile])
  • c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c

    r4773369 re7791906  
    1919 */
    2020
    21 #include <string.h>
    22 
    2321#include <bsp.h>
    24 #include <rtems/libio.h>
    25 #include <rtems/libcsupport.h>
    2622#include <page_table.h>
    2723#include <fatal.h>
     
    2925/* XXX If RTEMS let the BSP replace the default fatal error handler... */
    3026rtems_extensions_table user_extension_table;
    31 
    32 /*
    33  *  Use the shared implementations of the following routines.
    34  *  Look in rtems/c/src/lib/libbsp/shared/bsppost.c and
    35  *  rtems/c/src/lib/libbsp/shared/bsplibc.c.
    36  */
    37 void bsp_libc_init( void *, uint32_t, int );
    38 void bsp_pretasking_hook(void);               /* m68k version */
    3927
    4028/*
     
    6856{
    6957  void M68KFPSPInstallExceptionHandlers (void);
    70 
    7158  extern m68k_isr_entry  M68Kvec[];
    72   extern void           *_WorkspaceBase;
    73   extern void           *_RamSize;
    74   extern unsigned long   _M68k_Ramsize;
    7559
    7660  m68k_isr_entry *rom_monitor_vector_table;
    7761  int index;
    78 
    79   /* RAM size set in linker script */
    80   _M68k_Ramsize = (unsigned long)&_RamSize;
    8162
    8263  /*
     
    125106    Configuration.User_extension_table = &user_extension_table;
    126107  }
    127 
    128   /*
    129    *  Need to "allocate" the memory for the RTEMS Workspace and
    130    *  tell the RTEMS configuration where it is.  This memory is
    131    *  not malloc'ed.  It is just "pulled from the air".
    132    */
    133   Configuration.work_space_start = (void *)&_WorkspaceBase;
    134108}
Note: See TracChangeset for help on using the changeset viewer.