Changeset b6e3a7e2 in rtems for c


Ignore:
Timestamp:
Dec 4, 2008, 5:57:26 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.9
Children:
deed2a0
Parents:
b48cfa9
Message:

2008-12-04 Joel Sherrill <joel.sherrill@…>

PR 1344/bsps

  • clock/ckinit.c: Committed code was not final. Corrections.
Location:
c/src/lib/libbsp/i386/pc386
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/ChangeLog

    rb48cfa9 rb6e3a7e2  
     12008-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1344/bsps
     4        * clock/ckinit.c: Committed code was not final. Corrections.
     5
    162008-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    27                Michael South <msouth@msouth.org>
  • c/src/lib/libbsp/i386/pc386/clock/ckinit.c

    rb48cfa9 rb6e3a7e2  
    198198  pc586_tsc_at_tick = rdtsc();
    199199
    200 #if 1
     200#if 0
    201201  printk( "CPU clock at %u MHz\n", (uint32_t)(pc586_tsc_per_tick / 1000000));
    202202#endif
     
    264264};
    265265
    266 void Clock_driver_support_initialize_hardware()
     266void Clock_driver_support_initialize_hardware(void)
    267267{
    268268  bool use_tsc = false;
     
    283283
    284284  if ( use_8254 ) {
    285     printk( "Use 8254\n" );
     285    /* printk( "Use 8254\n" ); */
    286286    Clock_driver_support_at_tick = Clock_driver_support_at_tick_empty;
    287     bsp_clock_nanoseconds_since_last_tick =
     287    Clock_driver_nanoseconds_since_last_tick =
    288288      bsp_clock_nanoseconds_since_last_tick_tsc;
    289289
    290290  } else {
    291     printk( "Use TSC\n" );
     291    /* printk( "Use TSC\n" ); */
    292292    Clock_driver_support_at_tick = Clock_driver_support_at_tick_tsc;
    293     bsp_clock_nanoseconds_since_last_tick =
    294       bsp_clock_nanoseconds_since_last_tick_i88254;
     293    Clock_driver_nanoseconds_since_last_tick =
     294      bsp_clock_nanoseconds_since_last_tick_i8254;
    295295  }
    296296
Note: See TracChangeset for help on using the changeset viewer.