Changeset 2d25867 in rtems


Ignore:
Timestamp:
Dec 11, 2007, 3:46:18 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
7f6bb8c
Parents:
200748bf
Message:

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

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

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/erc32/ChangeLog

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

    r200748bf r2d25867  
    5353  clicks = ERC32_MEC.Real_Time_Clock_Counter;
    5454
    55   return (uint32_t) (BSP_Configuration.microseconds_per_tick - clicks) * 1000;
     55  return (uint32_t) (rtems_configuration_get_microseconds_per_tick() - clicks) * 1000;
    5656}
    5757
     
    6464    ERC32_MEC.Real_Time_Clock_Scalar  = CLOCK_SPEED - 1; \
    6565    ERC32_MEC.Real_Time_Clock_Counter = \
    66       BSP_Configuration.microseconds_per_tick; \
     66      rtems_configuration_get_microseconds_per_tick(); \
    6767    \
    6868    ERC32_MEC_Set_Real_Time_Clock_Timer_Control( \
  • c/src/lib/libbsp/sparc/erc32/include/bsp.h

    r200748bf r2d25867  
    108108void bsp_spurious_initialize( void );
    109109
    110 extern rtems_configuration_table BSP_Configuration;     /* owned by BSP */
    111 
    112110#ifdef __cplusplus
    113111}
  • c/src/lib/libbsp/sparc/leon2/ChangeLog

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

    r200748bf r2d25867  
    4545#define Clock_driver_support_initialize_hardware() \
    4646  do { \
    47     LEON_REG.Timer_Reload_1 = BSP_Configuration.microseconds_per_tick - 1; \
     47    LEON_REG.Timer_Reload_1 = rtems_configuration_get_microseconds_per_tick() - 1; \
    4848    \
    4949    LEON_REG.Timer_Control_1 = ( \
  • c/src/lib/libbsp/sparc/leon2/include/bsp.h

    r200748bf r2d25867  
    105105void bsp_spurious_initialize( void );
    106106
    107 extern rtems_configuration_table BSP_Configuration;     /* owned by BSP */
    108 
    109107#ifdef __cplusplus
    110108}
Note: See TracChangeset for help on using the changeset viewer.