Messages in this thread | | | Date | Fri, 02 Jul 2004 11:18:49 -0500 | From | Nathan Fontenot <> | Subject | Re: [PATCH] [2.6] PPC64: log firmware errors during boot. |
| |
> I asked about this before, and was told that there is no way to > determine the severity of an event without doing full parsing of the > binary data. I'd be thrilled to be wrong... >
Gettting the severity of an RTAS event is possible, and not too difficult. Check out asm-ppc64/rtas.h for a definition of the RTAS event header (struct rtas_error_log). All RTAS events have the same initial header containing the severity of the event.
Decoding RTAS events beyond the intial header, that gets ugly quick and will hopefully never need to be done in the kernel.
-- Nathan Fontenot
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |