source: rtems/c/src/lib/libbsp/mips/shared/clock/mips_timer.S @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*  clock.s
2 *
3 *  This file contains the assembly code for the IDT 4650 clock 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 */
20/* @(#)clock.S       08/20/96     1.2 */
21
22#include <rtems/mips/iregdef.h>
23#include <rtems/mips/idtcpu.h>
24#include <rtems/asm.h>
25
26FRAME(mips_set_timer,sp,0,ra)
27        .set noreorder
28        mfc0 t0,C0_COUNT
29        nop
30        addu t0,a0,t0
31        mtc0 t0,C0_COMPARE
32        j ra
33        nop
34        .set reorder
35ENDFRAME(mips_set_timer)
36
37FRAME(mips_get_timer,sp,0,ra)
38        .set noreorder
39        mfc0 v0,C0_COUNT
40        j ra
41        nop
42        .set reorder
43ENDFRAME(mips_get_timer)
Note: See TracBrowser for help on using the repository browser.