Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/examples/rump/tipsy In "probeonly", pause after bootst...
details: https://anonhg.NetBSD.org/src/rev/a2404e7f7b13
branches: trunk
changeset: 752194:a2404e7f7b13
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Feb 18 16:14:55 2010 +0000
description:
In "probeonly", pause after bootstrap to make "monkey plug and
unplug device, monkey see fancy dmesg info" possible.
diffstat:
share/examples/rump/tipsy/tipsy.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 3ea212db09e5 -r a2404e7f7b13 share/examples/rump/tipsy/tipsy.c
--- a/share/examples/rump/tipsy/tipsy.c Thu Feb 18 16:13:30 2010 +0000
+++ b/share/examples/rump/tipsy/tipsy.c Thu Feb 18 16:14:55 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tipsy.c,v 1.1 2009/12/20 19:50:29 pooka Exp $ */
+/* $NetBSD: tipsy.c,v 1.2 2010/02/18 16:14:55 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -100,8 +100,10 @@
if (probeonly)
rump_boot_sethowto(RUMP_AB_VERBOSE);
rump_init();
- if (probeonly)
+ if (probeonly) {
+ pause();
exit(0);
+ }
com = rump_sys_open("/dev/dtyU0", O_RDWR);
if (com == -1)
Home |
Main Index |
Thread Index |
Old Index