Author: marcel
Date: Tue Jul  6 23:13:21 2010
New Revision: 209749
URL: http://svn.freebsd.org/changeset/base/209749

Log:
  Provide more examples for error injection.

Modified:
  head/sys/ia64/ia64/mca.c

Modified: head/sys/ia64/ia64/mca.c
==============================================================================
--- head/sys/ia64/ia64/mca.c    Tue Jul  6 22:33:22 2010        (r209748)
+++ head/sys/ia64/ia64/mca.c    Tue Jul  6 23:13:21 2010        (r209749)
@@ -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]);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to