#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include "librtasevent.h"
#include "rtas_event.h"
Functions | |
| int | parse_cpu_scn (struct rtas_event *re) |
| struct rtas_cpu_scn * | rtas_get_cpu_scn (struct rtas_event *re) |
| Retrieve the CPU section of the RTAS Event. | |
| int | print_re_cpu_scn (struct scn_header *shdr, int verbosity) |
| Print the contents of a cpu section. | |
Copyright (C) 2005 IBM Corporation Common Public License Version 1.0 (see COPYRIGHT)
| int parse_cpu_scn | ( | struct rtas_event * | re | ) |
parse_cpu_scn
References add_re_scn(), rtas_event::offset, scn_header::raw_offset, RE_SHDR_OFFSET, RE_V4_SCN_SZ, rtas_copy(), RTAS_CPU_SCN, and rtas_cpu_scn::shdr.
Referenced by parse_rtas_event().
| int print_re_cpu_scn | ( | struct scn_header * | shdr, | |
| int | verbosity | |||
| ) |
print_cpu_failure
| res | rtas_event_scn pointer to cpu section | |
| verbosity | verbose level of output |
References rtas_cpu_scn::element, rtas_cpu_scn::extcache_ecc, rtas_cpu_scn::extcache_parity, rtas_cpu_scn::failing_address_hi, rtas_cpu_scn::failing_address_lo, rtas_cpu_scn::id, rtas_cpu_scn::intcache, rtas_cpu_scn::io_timeout, print_scn_title(), PRNT_FMT_2, PRNT_FMT_ADDR, scn_header::re, RTAS_CPU_SCN, rtas_print(), scn_header::scn_id, rtas_cpu_scn::sysbus_parity, rtas_cpu_scn::sysbus_protocol, rtas_cpu_scn::sysbus_timeout, rtas_cpu_scn::try_reboot, and rtas_event::version.
| struct rtas_cpu_scn* rtas_get_cpu_scn | ( | struct rtas_event * | re | ) | [read] |
rtas_get_cpu_scn
| re | rtas_event pointer |
References get_re_scn(), and RTAS_CPU_SCN.
1.5.5