Changeset bb15d1d2 in rtems


Ignore:
Timestamp:
Nov 22, 2004, 10:27:19 PM (15 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
fc63544
Parents:
8eaa3ea
Message:

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

PR 693/misc

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

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r8eaa3ea rbb15d1d2  
     12004-11-22      Joel Sherrill <joel@OARcorp.com>
     2
     3        PR 693/misc
     4        * libchip/rtc/mc146818a_ioreg.c: Disable unless on a target with
     5        in/outport routines.
     6
     72004-11-22      Joel Sherrill <joel@OARcorp.com>
     8
     9        PR 693/misc
     10        * libchip/rtc/mc146818a_ioreg.c: Disable unless on a target with
     11        in/outport routines.
     12
    1132004-11-22      Ralf Corsepius <ralf_corsepius@rtems.org>
    214
  • c/src/libchip/rtc/mc146818a_ioreg.c

    r8eaa3ea rbb15d1d2  
    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)
    2227uint32_t mc146818a_get_register(
    2328  uint32_t  ulCtrlPort,
     
    4449  outport_byte( ulCtrlPort+1, (uint8_t)ucData );
    4550}
     51#endif
     52#endif
Note: See TracChangeset for help on using the changeset viewer.