From 4f88b67ea991bc95a6a73ad5cdd4ffd4d3510351 Mon Sep 17 00:00:00 2001 From: marcel Date: Tue, 6 Jul 2010 23:13:21 +0000 Subject: Provide more examples for error injection. --- sys/ia64/ia64/mca.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sys/ia64') diff --git a/sys/ia64/ia64/mca.c b/sys/ia64/ia64/mca.c index c9f0ae5..8484d5a 100644 --- a/sys/ia64/ia64/mca.c +++ b/sys/ia64/ia64/mca.c @@ -91,7 +91,12 @@ mca_sysctl_inject(SYSCTL_HANDLER_ARGS) if (error != 0 || req->newptr == NULL) return (error); - /* For example: val=137 causes a fatal CPU error. */ + /* + * Example values for injecting PAL determined machine checks: + * corrected 9 + * recoverable 73 + * fatal 137 + */ res = ia64_call_pal_stacked(PAL_MC_ERROR_INJECT, val, 0, 0); printf("%s: %#lx, %#lx, %#lx, %#lx\n", __func__, res.pal_status, res.pal_result[0], res.pal_result[1], res.pal_result[2]); -- cgit v1.1