Changeset 040b74f in rtems


Ignore:
Timestamp:
Dec 11, 2007, 3:49:10 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
cba8eabd
Parents:
94beb19
Message:

2007-12-11 Joel Sherrill <joel.sherrill@…>

  • README, clock/ckinit.c, include/bsp.h, startup/bspstart.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
Location:
c/src/lib/libbsp/m68k/gen68302
Files:
5 edited

Legend:

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

    r94beb19 r040b74f  
     12007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * README, clock/ckinit.c, include/bsp.h, startup/bspstart.c: Eliminate
     4        copies of the Configuration Table. Use the RTEMS provided accessor
     5        macros to obtain configuration fields.
     6
    172007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/m68k/gen68302/README

    r94beb19 r040b74f  
    136136
    137137TODO: Add set_vector support.  Figure out what to do with Clock_exit().
    138 TODO: Pre-compute (BSP_Configuration.microseconds_per_tick/1000) so that
     138TODO: Pre-compute (rtems_configuration_get_microseconds_per_tick()/1000) so that
    139139it doesn't have to be re-computed on each Clock_isr().
    140140
  • c/src/lib/libbsp/m68k/gen68302/clock/ckinit.c

    r94beb19 r040b74f  
    7474  if ( Clock_isrs == 1 ) {
    7575    rtems_clock_tick();
    76     Clock_isrs = BSP_Configuration.microseconds_per_tick / 1000;
     76    Clock_isrs = rtems_configuration_get_microseconds_per_tick() / 1000;
    7777  }
    7878  else
     
    8585{
    8686  Clock_driver_ticks = 0;
    87   Clock_isrs = BSP_Configuration.microseconds_per_tick / 1000;
     87  Clock_isrs = rtems_configuration_get_microseconds_per_tick() / 1000;
    8888
    8989  set_vector( clock_isr, CLOCK_VECTOR, 1 );
  • c/src/lib/libbsp/m68k/gen68302/include/bsp.h

    r94beb19 r040b74f  
    7474/* miscellaneous stuff assumed to exist */
    7575
    76 extern rtems_configuration_table BSP_Configuration;
    77 
    7876extern m68k_isr_entry M68Kvec[];   /* vector table address */
    7977
  • c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c

    r94beb19 r040b74f  
    2020#include <rtems/libio.h>
    2121#include <rtems/libcsupport.h>
    22 
    23 /*
    24  *  The original table from the application and our copy of it with
    25  *  some changes.
    26  */
    27 
    28 extern rtems_configuration_table Configuration;
    29 rtems_configuration_table  BSP_Configuration;
    30 
    31 char *rtems_progname;
    3222
    3323/*
     
    6959   */
    7060
    71   BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
     61  Configuration.work_space_start = (void *) &_WorkspaceBase;
    7262}
Note: See TracChangeset for help on using the changeset viewer.