[BACK]Return to testrescue.S CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / arch / cris / arch-v10 / boot / rescue

File: [Development] / linux-2.6-xfs / arch / cris / arch-v10 / boot / rescue / testrescue.S (download)

Revision 1.2, Tue Feb 26 16:44:40 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +5 -7 lines

Merge up to 2.6.25-rc3
Merge of 2.6.x-xfs-melb:linux:30555a by kenmcd.

/*
 * Simple testcode to download by the rescue block.
 * Just lights some LEDs to show it was downloaded correctly.
 *
 * Copyright (C) 1999 Axis Communications AB
 */

#define ASSEMBLER_MACROS_ONLY
#include <asm/arch/sv_addr_ag.h>

	.text

	nop
	nop
	moveq	-1, $r2
	move.b	$r2, [R_PORT_PA_DIR]
	moveq	0, $r2
	move.b	$r2, [R_PORT_PA_DATA]

endless:
	nop
	ba	endless
	nop