Changeset a1f89b4 in rtems for c/src/lib/libcpu/a29k


Ignore:
Timestamp:
01/26/00 14:22:34 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
64ab2e9
Parents:
21677c0e
Message:

No longer incorrectly references mips.

Location:
c/src/lib/libcpu/a29k/timer
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/a29k/timer/Makefile.am

    r21677c0e ra1f89b4  
    1313C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1414
    15 S_FILES = gettime.S
    16 S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
    17 
    18 OBJS = $(C_O_FILES) $(S_O_FILES)
     15OBJS = $(C_O_FILES)
    1916
    2017include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
  • c/src/lib/libcpu/a29k/timer/timer.c

    r21677c0e ra1f89b4  
    3030#define TIMER_MAX_VALUE 0xffffffff
    3131
    32 extern unsigned32 mips_read_timer( void );
     32static unsigned32 read_timer( void )
     33{
     34  return 0; /* do something with real hardware here */
     35}
    3336
    3437static rtems_boolean Timer_driver_Find_average_overhead;
     
    3740void Timer_initialize( void )
    3841{
    39 /*
    40    Timer_initial_value = mips_read_timer();
    41  */
     42   Timer_initial_value = read_timer();
     43
    4244  /*
    4345   *  Somehow start the timer
     
    7173   */
    7274
    73   clicks = mips_read_timer();   /* XXX: read some HW here */
     75  clicks = read_timer();   /* XXX: read some HW here */
    7476  if (clicks < Timer_initial_value)
    7577  {
Note: See TracChangeset for help on using the changeset viewer.