Changeset a1f514f in rtems


Ignore:
Timestamp:
Jul 28, 1998, 11:03:40 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
9968efb
Parents:
009c235
Message:

First cut implementation of real-time clock support in libchip. This
version compiles cleanly but there is not a BSP with a configuration
table to utilize it.

Location:
c/src
Files:
6 added
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libchip/rtc/Makefile.in

    r009c235 ra1f514f  
    1313
    1414C_PIECES=\
     15  rtcprobe m48t08
    1516
    1617C_FILES=$(C_PIECES:%=%.c)
    1718C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
    1819
    19 INSTALLED_H_FILES=$(srcdir)/rtc.h
     20INSTALLED_H_FILES=$(srcdir)/rtc.h $(srcdir)/m48t08.h
     21
    2022SRCS=$(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) $(PRIVATE_H_FILES)
    2123OBJS=$(C_O_FILES)
  • c/src/lib/libchip/rtc/rtc.h

    r009c235 ra1f514f  
    2121 */
    2222
    23 typedef unsigned8 (*getRegister_f)(unsigned32 port, unsigned8 register);
    24 typedef void      (*setRegister_f)(
    25                             unsigned32 port, unsigned8 reg, unsigned8 value);
    26 typedef unsigned8 (*getData_f)(unsigned32 port);
    27 typedef void      (*setData_f)(unsigned32 port, unsigned8 value);
     23typedef unsigned32 (*getRegister_f)(unsigned32 port, unsigned8 register);
     24typedef void       (*setRegister_f)(
     25                            unsigned32 port, unsigned8 reg, unsigned32 value);
    2826
    2927typedef struct _rtc_fns {
     
    8078extern unsigned long  RTC_Port_Count;
    8179
     80
     81boolean rtc_probe( int minor );
     82
    8283#endif
    8384/* end of include file */
  • c/src/libchip/rtc/Makefile.in

    r009c235 ra1f514f  
    1313
    1414C_PIECES=\
     15  rtcprobe m48t08
    1516
    1617C_FILES=$(C_PIECES:%=%.c)
    1718C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
    1819
    19 INSTALLED_H_FILES=$(srcdir)/rtc.h
     20INSTALLED_H_FILES=$(srcdir)/rtc.h $(srcdir)/m48t08.h
     21
    2022SRCS=$(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) $(PRIVATE_H_FILES)
    2123OBJS=$(C_O_FILES)
  • c/src/libchip/rtc/rtc.h

    r009c235 ra1f514f  
    2121 */
    2222
    23 typedef unsigned8 (*getRegister_f)(unsigned32 port, unsigned8 register);
    24 typedef void      (*setRegister_f)(
    25                             unsigned32 port, unsigned8 reg, unsigned8 value);
    26 typedef unsigned8 (*getData_f)(unsigned32 port);
    27 typedef void      (*setData_f)(unsigned32 port, unsigned8 value);
     23typedef unsigned32 (*getRegister_f)(unsigned32 port, unsigned8 register);
     24typedef void       (*setRegister_f)(
     25                            unsigned32 port, unsigned8 reg, unsigned32 value);
    2826
    2927typedef struct _rtc_fns {
     
    8078extern unsigned long  RTC_Port_Count;
    8179
     80
     81boolean rtc_probe( int minor );
     82
    8283#endif
    8384/* end of include file */
Note: See TracChangeset for help on using the changeset viewer.