Changeset e182c620 in rtems


Ignore:
Timestamp:
Jan 3, 2001, 4:44:17 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
5e67b98
Parents:
60ab53a2
Message:

2001-01-03 Joel Sherrill <joel@…>

  • clockdrv_shell.c: Added fast idle mode which is enabled by defining CLOCK_DRIVER_USE_FAST_IDLE.
  • console-polled.c: Added console_initialize_hardware() hook.
Location:
c/src/lib/libbsp/shared
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/ChangeLog

    r60ab53a2 re182c620  
     12001-01-03      Joel Sherrill <joel@OARcorp.com>
     2
     3        * clockdrv_shell.c: Added fast idle mode which is enabled by defining
     4        CLOCK_DRIVER_USE_FAST_IDLE.
     5        * console-polled.c: Added console_initialize_hardware() hook.
     6
    172000-12-01      Joel Sherrill <joel@OARcorp.com>
    28
  • c/src/lib/libbsp/shared/clockdrv_shell.c

    r60ab53a2 re182c620  
    5252)
    5353{
     54#ifdef CLOCK_DRIVER_USE_FAST_IDLE
     55  do {
     56    Clock_driver_ticks += 1;
     57    rtems_clock_tick();
     58  } while ( _Thread_Executing == _Thread_Idle &&
     59          _Thread_Heir == _Thread_Executing)
     60
     61  Clock_driver_support_at_tick();
     62  return;
     63#else
    5464  /*
    5565   *  Do the hardware specific per-tick action.
     66   *
     67   *  The counter/timer may or may not be set to automatically reload.
    5668   */
    5769
     
    6577
    6678  /*
    67    *  Real Time Clock counter/timer is set to automatically reload.
    6879   */
    6980
     
    7283#else
    7384#error "Clock driver shell: Does not currently support counting mseconds."
     85#endif
     86
    7487#endif
    7588}
  • c/src/lib/libbsp/shared/console-polled.c

    r60ab53a2 re182c620  
    2929  int port
    3030);
     31
     32void console_initialize_hardware(void);
    3133
    3234/*
     
    6567
    6668  rtems_termios_initialize();
     69
     70  /*
     71   *  Make sure the hardware is initialized.
     72   */
     73
     74  console_initialize_hardware();
    6775
    6876  /*
Note: See TracChangeset for help on using the changeset viewer.