diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ia64/ia64/mca.c | 7 |
1 files changed, 6 insertions, 1 deletions
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]); |