/* OTTimer-ppc.s created by luke on Sun 19-Oct-1997 */

#error OmniTimer is not yet available on PowerPC.

//  As near as I can tell, the 604e PowerPC processor doesn't support
//  the necessary instructions to implement OmniTimer.  Though it does
//  have programmable performance monitoring features, and can monitor
//  the processor cycle count, it provides no mechanism to read this
//  register from user-level.
//
//  A loadable kernel server or kernel-level device driver could be
//  written to provide access to the performance monitor registers,
//  but the added overhead would skew the timing results.
//
//  I looked briefly at the Motorola User Manual for the 740 and 750
//  PowerPC processors, and it looks like they do support the
//  necessary instructions to implement OmniTimer.  However, since 
//  Omni doesn't currently have any 740/750 hardware, I can't do the 
//  port.
//
//  Once we do have the appropriate hardware, I'll release a version of
//  OmniTimer for PowerPC (740/750).

.text
.align 4

.align 4
.globl _OTReadCounter
.align 4
.globl _OTAddDeltaSinceStart
_OTAddDeltaSinceStart:

.align 4
.globl _OTDeltaTimers
_OTDeltaTimers:

.align 4
.globl _OTSumTimers
_OTSumTimers:

