source: rtems/c/src/lib/libcpu/mips/timer/gettime.S @ 5b53d97

4.104.114.84.95
Last change on this file since 5b53d97 was 5b53d97, checked in by Joel Sherrill <joel.sherrill@…>, on 10/24/00 at 21:52:19

2000-10-24 Alan Cudmore <alanc@…> and

Joel Sherrill <joel@…>

  • This is a major reworking of the mips64orion port to use gcc predefines as much as possible and a big push to multilib the mips port. The mips64orion port was copied/renamed to mips to be more like other GNU tools. Alan did most of the technical work of determining how to map old macro names used by the mips64orion port to standard compiler macro definitions. Joel did the merge with CVS magic to keep individual file history and did the BSP modifications. Details follow:
  • Makefile.am: Made clock and timer subdirectories conditional.
  • configure.in: Ditto.
  • clock/clock.S: Switch from using <idtmon.h> to <asm.h>.
  • clock/gettime.S: Switch from using <idtmon.h> to <asm.h>.
  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[f198c63]1/*  gettime.s
2 *
3 *  This file contains the assembly code for the IDT 4650 timer driver.
4 *
5 *  Author:     Craig Lebakken <craigl@transition.com>
6 *
7 *  COPYRIGHT (c) 1996 by Transition Networks Inc.
8 *
9 *  To anyone who acknowledges that this file is provided "AS IS"
10 *  without any express or implied warranty:
11 *      permission to use, copy, modify, and distribute this file
12 *      for any purpose is hereby granted without fee, provided that
13 *      the above copyright notice and this notice appears in all
14 *      copies, and that the name of Transition Networks not be used in
15 *      advertising or publicity pertaining to distribution of the
16 *      software without specific, written prior permission.
17 *      Transition Networks makes no representations about the suitability
18 *      of this software for any purpose.
19 *
[0971cd5]20 *  $Id$
[f198c63]21 */
22
23/* @(#)gettime.S       08/20/96     1.2 */
24
[73b943bc]25#include <iregdef.h>
26#include <idtcpu.h>
[5b53d97]27#include <asm.h>
[f198c63]28
29FRAME(mips_read_timer,sp,0,ra)
30        .set noreorder
31        mfc0 v0,C0_COUNT
32        nop
33        j ra
34        .set reorder
35ENDFRAME(mips_read_timer)
Note: See TracBrowser for help on using the repository browser.