diff options
author | marcel <marcel@FreeBSD.org> | 2010-07-06 23:13:21 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2010-07-06 23:13:21 +0000 |
commit | 4f88b67ea991bc95a6a73ad5cdd4ffd4d3510351 (patch) | |
tree | d12c5bec85c09c4dd34979a8543f6bd0b25a7bd6 /sys/ia64 | |
parent | 354611ab0ff734b637a2d7749e6d33b7c6ebe2ac (diff) | |
download | FreeBSD-src-4f88b67ea991bc95a6a73ad5cdd4ffd4d3510351.zip FreeBSD-src-4f88b67ea991bc95a6a73ad5cdd4ffd4d3510351.tar.gz |
Provide more examples for error injection.
Diffstat (limited to 'sys/ia64')
-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]); |