summaryrefslogtreecommitdiff
path: root/src/arch/ppc/lib/timebase.S
blob: 48171db498a2d1fb8e51f7ac71e4f232ab1d71f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* $Id$ */
/* Copyright 1999-2000  AG Electronics Ltd. */
/* This code is distributed without warranty under the GPL v2 (see COPYING) */

	.text
	.globl	_timebase
_timebase:
	mftbu	3
	mftb    4
	mftbu	5
	cmpw	3, 5
	bne	_timebase
	blr