Changeset f3fea868 in rtems


Ignore:
Timestamp:
Apr 13, 2000, 1:00:41 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
6c48c6ee
Parents:
2e34e9f1
Message:

M68k BSPs compile and link again after making Ramsize handling as
consistent as possible across all m68k BSPs.

Location:
c/src/lib/libbsp/m68k
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c

    r2e34e9f1 rf3fea868  
    3434char *rtems_progname;
    3535
    36 /* Amount of RAM on this board */
    37 unsigned long _M68k_Ramsize;
    38 
    3936/*
    4037 *  Use the shared implementations of the following routines
     
    5754  void           *vbr;
    5855  extern void    *_WorkspaceBase;
     56  extern void    *_RamSize;
    5957  extern unsigned long _M68k_Ramsize;
    6058
  • c/src/lib/libbsp/m68k/efi332/startup/bspstart.c

    r2e34e9f1 rf3fea868  
    3333char *rtems_progname;
    3434
    35 /* Amount of RAM on this board */
    36 unsigned long _M68k_Ramsize;
    37 
    3835/*
    3936 *  Use the shared implementations of the following routines
     
    5451  void           *vbr;
    5552  extern void    *_WorkspaceBase;
     53  extern void    *_RamSize;
    5654  extern unsigned long _M68k_Ramsize;
    5755
  • c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c

    r2e34e9f1 rf3fea868  
    5454void bsp_start( void )
    5555{
    56   void           *vbr;
    57   extern void    *_WorkspaceBase;
    58   extern unsigned long _M68k_Ramsize;
     56  void                 *vbr;
     57  extern void          *_WorkspaceBase;
     58  extern void          *_RamSize;
     59  extern unsigned long  _M68k_Ramsize;
    5960
    6061  _M68k_Ramsize = (unsigned long)&_RamSize;             /* RAM size set in linker script */
  • c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c

    r2e34e9f1 rf3fea868  
    5050void bsp_start( void )
    5151{
    52   extern void    *_WorkspaceBase;
    53   extern unsigned long _M68k_Ramsize;
     52  extern void          *_WorkspaceBase;
     53  extern void          *_RamSize;
     54  extern void          *_RamSize;
     55  extern unsigned long  _M68k_Ramsize;
    5456
    5557  _M68k_Ramsize = (unsigned long)&_RamSize;             /* RAM size set in linker script */
  • c/src/lib/libbsp/m68k/gen68340/startup/bspstart.c

    r2e34e9f1 rf3fea868  
    5555void bsp_start( void )
    5656{
    57   extern void *_WorkspaceBase;
    58   extern unsigned long _M68k_Ramsize;
     57  extern void          *_WorkspaceBase;
     58  extern void          *_RamSize;
     59  extern unsigned long  _M68k_Ramsize;
    5960
    6061  _M68k_Ramsize = (unsigned long)&_RamSize;             /* RAM size set in linker script */
  • c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c

    r2e34e9f1 rf3fea868  
    3333char *rtems_progname;
    3434
    35 /* Amount of RAM on this board. Dynamically set in start.S */
    36 unsigned long _M68k_Ramsize;
    37 
    3835/*
    3936 *  Use the shared implementations of the following routines
     
    5350{
    5451  extern void *_WorkspaceBase;
     52 
     53  /*
     54   *  _M68k_Ramsize is the amount of RAM on this board and
     55   *  is set by many m68k BSPs at this point.  With this
     56   *  BSP, it is dynamically set in start.S.
     57   */
     58
    5559
    5660  /*
  • c/src/lib/libbsp/m68k/idp/startup/bspstart.c

    r2e34e9f1 rf3fea868  
    4141char *rtems_progname;
    4242
    43 /* Amount of RAM on this board */
    44 unsigned long _M68k_Ramsize;
    45 
    4643/*
    4744 *  Use the shared implementations of the following routines
     
    6259  m68k_isr_entry *monitors_vector_table;
    6360  int             index;
    64   extern void    *_WorkspaceBase;
    65   extern unsigned long _M68k_Ramsize;
     61  extern void          *_WorkspaceBase;
     62  extern void          *_RamSize;
     63  extern unsigned long  _M68k_Ramsize;
    6664
    6765  _M68k_Ramsize = (unsigned long)&_RamSize;             /* RAM size set in linker script */
  • c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c

    r2e34e9f1 rf3fea868  
    3535char *rtems_progname;
    3636
    37 /* Amount of RAM on this board */
    38 unsigned long _M68k_Ramsize;
    39 
    4037/*
    4138 *  Use the shared implementations of the following routines
     
    5653  m68k_isr_entry *monitors_vector_table;
    5754  int             index;
    58   extern void    *_WorkspaceBase;
    59   extern unsigned long _M68k_Ramsize;
     55  extern void          *_WorkspaceBase;
     56  extern void          *_RamSize;
     57  extern unsigned long  _M68k_Ramsize;
    6058
    6159  _M68k_Ramsize = (unsigned long)&_RamSize;             /* RAM size set in linker script */
  • c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c

    r2e34e9f1 rf3fea868  
    3838char *rtems_progname;
    3939
    40 /* Amount of RAM on this board */
    41 unsigned long _M68k_Ramsize;
    42 
    4340/*
    4441 *  Use the shared implementations of the following routines
     
    5956  m68k_isr_entry *monitors_vector_table;
    6057  int             index;
    61   extern void    *_WorkspaceBase;
    62   extern unsigned long _M68k_Ramsize;
     58  extern void          *_WorkspaceBase;
     59  extern void          *_RamSize;
     60  extern unsigned long  _M68k_Ramsize;
    6361
    6462  _M68k_Ramsize = (unsigned long)&_RamSize;             /* RAM size set in linker script */
  • c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c

    r2e34e9f1 rf3fea868  
    3838char *rtems_progname;
    3939
    40 /* Amount of RAM on this board */
    41 unsigned long _M68k_Ramsize;
    42 
    4340/*
    4441 *  Use the shared implementations of the following routines
     
    5754void bsp_start( void )
    5855{
    59   m68k_isr_entry *monitors_vector_table;
    60   int             index;
    61   rtems_unsigned8 node_number;
    62   extern void    *_WorkspaceBase;
    63   extern unsigned long _M68k_Ramsize;
     56  m68k_isr_entry       *monitors_vector_table;
     57  int                   index;
     58  rtems_unsigned8       node_number;
     59  extern void          *_WorkspaceBase;
     60  extern void          *_RamSize;
     61  extern unsigned long  _M68k_Ramsize;
    6462
    6563  _M68k_Ramsize = (unsigned long)&_RamSize;             /* RAM size set in linker script */
  • c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c

    r2e34e9f1 rf3fea868  
    4242char *rtems_progname;
    4343
    44 /* Amount of RAM on this board */
    45 unsigned long _M68k_Ramsize;
    46 
    4744/*
    4845 *  Use the shared implementations of the following routines
     
    6158void bsp_start( void )
    6259{
    63   m68k_isr_entry *monitors_vector_table;
    64   int             index;
    65   extern void     *_WorkspaceBase;
    66   extern void     *_RamSize;
    67   extern unsigned long _M68k_Ramsize;
     60  m68k_isr_entry       *monitors_vector_table;
     61  int                   index;
     62  extern void          *_WorkspaceBase;
     63  extern void          *_RamSize;
     64  extern unsigned long  _M68k_Ramsize;
    6865
    6966  _M68k_Ramsize = (unsigned long)&_RamSize;             /* RAM size set in linker script */
  • c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c

    r2e34e9f1 rf3fea868  
    4242rtems_cpu_table Cpu_table;
    4343
    44 /* Amount of RAM on this board */
    45 unsigned long _M68k_Ramsize;
    46 
    4744/*
    4845 *  Use the shared implementations of the following routines.
     
    8582  void M68KFPSPInstallExceptionHandlers (void);
    8683 
    87   extern void *_WorkspaceBase;
    88   extern m68k_isr_entry M68Kvec[];
    89   extern void *_RamSize;
    90   extern unsigned long _M68k_Ramsize;
     84  extern m68k_isr_entry  M68Kvec[];
     85  extern void           *_WorkspaceBase;
     86  extern void           *_RamSize;
     87  extern unsigned long   _M68k_Ramsize;
    9188
    9289  m68k_isr_entry *rom_monitor_vector_table;
  • c/src/lib/libbsp/m68k/ods68302/startup/bspstart.c

    r2e34e9f1 rf3fea868  
    3535char *rtems_progname;
    3636
    37 /* Amount of RAM on this board */
    38 unsigned long _M68k_Ramsize;
    39 
    4037/*
    4138 *  Use the shared implementations of the following routines
     
    5451void bsp_start( void )
    5552{
    56   extern void *_WorkspaceBase;
    57   extern void *_RamSize;
    58   extern unsigned long _M68k_Ramsize;
     53  extern void          *_WorkspaceBase;
     54  extern void          *_RamSize;
     55  extern unsigned long  _M68k_Ramsize;
    5956
    6057  _M68k_Ramsize = (unsigned long)&_RamSize;             /* RAM size set in linker script */
  • c/src/lib/libbsp/m68k/shared/m68kpretaskinghook.c

    r2e34e9f1 rf3fea868  
    3535extern rtems_configuration_table  BSP_Configuration;
    3636
    37 extern unsigned long  _M68k_Ramsize;
    3837extern void          *_RamBase;
    3938extern void          *_WorkspaceBase;
    4039extern void          *_HeapSize;
     40
     41
     42unsigned long  _M68k_Ramsize;
    4143
    4244void bsp_pretasking_hook(void)
Note: See TracChangeset for help on using the changeset viewer.