xref: /csrg-svn/lib/libc/mips/sys/reboot.s (revision 61148)
152729Sbostic/*-
2*61148Sbostic * Copyright (c) 1991, 1993
3*61148Sbostic *	The Regents of the University of California.  All rights reserved.
452729Sbostic *
552729Sbostic * This code is derived from software contributed to Berkeley by
652729Sbostic * Ralph Campbell.
752729Sbostic *
852729Sbostic * %sccs.include.redist.c%
952729Sbostic */
1052729Sbostic
1152729Sbostic#include "SYS.h"
1252729Sbostic
1352729Sbostic#if defined(LIBC_SCCS) && !defined(lint)
14*61148Sbostic	ASMSTR("@(#)reboot.s	8.1 (Berkeley) 06/04/93")
1552729Sbostic#endif /* LIBC_SCCS and not lint */
1652729Sbostic
1752729SbosticLEAF(reboot)
1852729Sbostic	li	v0, SYS_reboot
1952729Sbostic	syscall
2052729Sbostic	bne	a3, zero, 1f
2152729Sbostic	jal	abort
2252729Sbostic1:
2352729Sbostic	j	_cerror
2452729SbosticEND(reboot)
25