Changeset 24fced7 in rtems


Ignore:
Timestamp:
Nov 22, 2004, 10:25:05 PM (16 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Children:
561f53b
Parents:
52d276b6
Message:

2004-11-22 Joel Sherrill <joel@…>

PR 693/misc

  • rtc/mc146818a_ioreg.c: Disable unless on a target with in/outport routines.
Location:
c/src/libchip
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/ChangeLog

    r52d276b6 r24fced7  
     12004-11-22      Joel Sherrill <joel@OARcorp.com>
     2
     3        PR 693/misc
     4        * rtc/mc146818a_ioreg.c: Disable unless on a target with in/outport
     5        routines.
     6
    172004-11-10      Richard Campbell <richard.campbell@oarcorp.com>
    28
  • c/src/libchip/rtc/mc146818a_ioreg.c

    r52d276b6 r24fced7  
    2020#include <bsp.h>
    2121
     22/*
     23 *  At this point, not all CPUs or BSPs have defined in/out port routines.
     24 */
     25#if defined(__i386__) || defined(__PPC__)
     26#if defined(inport_byte)
    2227unsigned32 mc146818a_get_register(
    2328  unsigned32  ulCtrlPort,
     
    4449  outport_byte( ulCtrlPort+1, (unsigned8)ucData );
    4550}
     51#endif
     52#endif
Note: See TracChangeset for help on using the changeset viewer.