Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/news68k/stand/boot Add _rtt(), which is called by p...



details:   https://anonhg.NetBSD.org/src/rev/382a7d03b9e0
branches:  trunk
changeset: 526285:382a7d03b9e0
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Tue Apr 30 13:10:56 2002 +0000

description:
Add _rtt(), which is called by panic() in libsa/panic.c,
which is useed from ustarfs.c.

diffstat:

 sys/arch/news68k/stand/boot/boot.c |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r f083f20173e2 -r 382a7d03b9e0 sys/arch/news68k/stand/boot/boot.c
--- a/sys/arch/news68k/stand/boot/boot.c        Tue Apr 30 13:10:43 2002 +0000
+++ b/sys/arch/news68k/stand/boot/boot.c        Tue Apr 30 13:10:56 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: boot.c,v 1.6 2002/04/30 01:07:26 tsutsui Exp $ */
+/*     $NetBSD: boot.c,v 1.7 2002/04/30 13:10:56 tsutsui Exp $ */
 
 /*-
  * Copyright (C) 1999 Izumi Tsutsui.  All rights reserved.
@@ -135,3 +135,13 @@
        __asm __volatile ("movl %0,%%d2" : : "m" (marks[MARK_END]));
        (*entry)();
 }
+
+void
+_rtt()
+{
+
+       rom_halt();
+       for (;;)
+               ;
+       /* NOTREACHED */
+}



Home | Main Index | Thread Index | Old Index