4.104.114.84.95
Last change
on this file since f198c63 was
f198c63,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/06/96 at 18:11:41
|
new file for MIPS port by Craig Lebakken (lebakken@…) and
Derrick Ostertag (ostertag@…).
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
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 | * |
---|
20 | */ |
---|
21 | |
---|
22 | /* @(#)gettime.S 08/20/96 1.2 */ |
---|
23 | |
---|
24 | #include <rtems/score/iregdef.h> |
---|
25 | #include <rtems/score/idtcpu.h> |
---|
26 | #include <rtems/score/idtmon.h> |
---|
27 | |
---|
28 | FRAME(mips_read_timer,sp,0,ra) |
---|
29 | .set noreorder |
---|
30 | mfc0 v0,C0_COUNT |
---|
31 | nop |
---|
32 | j ra |
---|
33 | .set reorder |
---|
34 | ENDFRAME(mips_read_timer) |
---|
Note: See
TracBrowser
for help on using the repository browser.