summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/mips/clock/clock.S
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-12 18:09:13 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-13 10:32:38 -0500
commitf95f212af448db2bbd50cda81bbe961317b18201 (patch)
treee8ad61572793bcaeee0c3ab8dafc9d4408b0a127 /c/src/lib/libcpu/mips/clock/clock.S
parentmips/clock/ckinit.c: Clean up (may be unused) (diff)
downloadrtems-f95f212af448db2bbd50cda81bbe961317b18201.tar.bz2
Remove libcpu/mips/clock - unused code
This code was only referenced for r46xx CPU models. There are no BSPs currently in the tree with this CPU model. The r46xx was the original target for the MIPS port and it is likely that the code has not been used on actual hardware in many years. All MIPS BSPs successfully built after this was removed.
Diffstat (limited to 'c/src/lib/libcpu/mips/clock/clock.S')
-rw-r--r--c/src/lib/libcpu/mips/clock/clock.S43
1 files changed, 0 insertions, 43 deletions
diff --git a/c/src/lib/libcpu/mips/clock/clock.S b/c/src/lib/libcpu/mips/clock/clock.S
deleted file mode 100644
index 2e9ff1ea26..0000000000
--- a/c/src/lib/libcpu/mips/clock/clock.S
+++ /dev/null
@@ -1,43 +0,0 @@
-/* clock.s
- *
- * This file contains the assembly code for the IDT 4650 clock driver.
- *
- * Author: Craig Lebakken <craigl@transition.com>
- *
- * COPYRIGHT (c) 1996 by Transition Networks Inc.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies, and that the name of Transition Networks not be used in
- * advertising or publicity pertaining to distribution of the
- * software without specific, written prior permission.
- * Transition Networks makes no representations about the suitability
- * of this software for any purpose.
- */
-/* @(#)clock.S 08/20/96 1.2 */
-
-#include <rtems/mips/iregdef.h>
-#include <rtems/mips/idtcpu.h>
-#include <rtems/asm.h>
-
-FRAME(mips_set_timer,sp,0,ra)
- .set noreorder
- mfc0 t0,C0_COUNT
- nop
- addu t0,a0,t0
- mtc0 t0,C0_COMPARE
- j ra
- nop
- .set reorder
-ENDFRAME(mips_set_timer)
-
-FRAME(mips_get_timer,sp,0,ra)
- .set noreorder
- mfc0 v0,C0_COUNT
- j ra
- nop
- .set reorder
-ENDFRAME(mips_get_timer)