From 6d22b73346a02763769401e9f28b596670cc3d16 Mon Sep 17 00:00:00 2001 From: dhain Date: Wed, 26 Oct 2005 16:23:44 -0700 Subject: 5107846 DR hangs on fcode_interpreter() running parallel DR. 5043347 PANIC with efcode probing of bad I/O hw in slot; --- usr/src/lib/efcode/fcdriver/misc.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'usr/src/lib/efcode/fcdriver/misc.c') diff --git a/usr/src/lib/efcode/fcdriver/misc.c b/usr/src/lib/efcode/fcdriver/misc.c index 4e62b11e03..b2ea8a9e00 100644 --- a/usr/src/lib/efcode/fcdriver/misc.c +++ b/usr/src/lib/efcode/fcdriver/misc.c @@ -20,8 +20,8 @@ * CDDL HEADER END */ /* - * Copyright (c) 2000 by Sun Microsystems, Inc. - * All rights reserved. + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. */ #pragma ident "%Z%%M% %I% %E% SMI" @@ -54,9 +54,8 @@ fc_reg_read(fcode_env_t *env, char *service, fstack_t virt, int *errp) /* Don't report error on peeks */ *errp = error; else if (error) { - log_message(MSG_ERROR, "fc_read_reg: ERROR: cookie: %llx" + forth_abort(env, "fc_read_reg: ERROR: cookie: %llx" " virt: %llx\n", (uint64_t)virt, (uint64_t)virtaddr); - data = 0; } return (data); } @@ -81,7 +80,7 @@ fc_reg_write(fcode_env_t *env, char *service, fstack_t virt, fc_cell_t data, /* Don't report error on pokes */ *errp = error; else if (error) { - log_message(MSG_ERROR, "fc_write_reg: ERROR: cookie: %llx" + forth_abort(env, "fc_write_reg: ERROR: cookie: %llx" " virt: %llx\n", (uint64_t)virt, (uint64_t)virtaddr); } } -- cgit v1.2.3