diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-09-19 22:34:53 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-09-19 22:34:53 +0000 |
commit | e505824b089e8503e861bc2c1544de84d6713f46 (patch) | |
tree | cebd37eb135c4a27a14d35d2ecadd9c84ed2ef90 /sys/arch/mvme68k | |
parent | d65c51c0c2a74ed8add720f20b47538cbb6e042e (diff) |
Let boot -b return to debugger before invoking the kernels entry point, like
mvme88k does.
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r-- | sys/arch/mvme68k/stand/libsa/exec_mvme.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/mvme68k/stand/libsa/exec_mvme.c b/sys/arch/mvme68k/stand/libsa/exec_mvme.c index ae6704f0630..6e50d7816c8 100644 --- a/sys/arch/mvme68k/stand/libsa/exec_mvme.c +++ b/sys/arch/mvme68k/stand/libsa/exec_mvme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_mvme.c,v 1.6 2003/08/20 00:26:00 deraadt Exp $ */ +/* $OpenBSD: exec_mvme.c,v 1.7 2003/09/19 22:34:52 miod Exp $ */ /* $NetBSD: exec_sun.c,v 1.5 1996/01/29 23:41:06 gwr Exp $ */ /*- @@ -174,6 +174,9 @@ exec_mvme(file, flag) close(io); printf("Start @ 0x%x ...\n", (int)entry); + if (flag & RB_HALT) + _rtt(); + (*entry)(flag, bugargs.ctrl_addr, bugargs.ctrl_lun, bugargs.dev_lun, 0, cp); printf("exec: kernel returned!\n"); |