From 8ef3261c54fabef701260d5019c27087045c6c6c Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Sat, 29 Feb 1992 20:55:33 -0800 Subject: [PATCH] date and time created 92/02/29 12:55:33 by bostic SCCS-vsn: lib/libc/mips/sys/reboot.s 5.1 --- usr/src/lib/libc/mips/sys/reboot.s | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 usr/src/lib/libc/mips/sys/reboot.s diff --git a/usr/src/lib/libc/mips/sys/reboot.s b/usr/src/lib/libc/mips/sys/reboot.s new file mode 100644 index 0000000000..7a387bdc0b --- /dev/null +++ b/usr/src/lib/libc/mips/sys/reboot.s @@ -0,0 +1,24 @@ +/*- + * Copyright (c) 1991 The Regents of the University of California. + * All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Ralph Campbell. + * + * %sccs.include.redist.c% + */ + +#include "SYS.h" + +#if defined(LIBC_SCCS) && !defined(lint) + ASMSTR("@(#)reboot.s 5.1 (Berkeley) %G%") +#endif /* LIBC_SCCS and not lint */ + +LEAF(reboot) + li v0, SYS_reboot + syscall + bne a3, zero, 1f + jal abort +1: + j _cerror +END(reboot) -- 2.20.1