librtasevent_src/rtas_cpu.c File Reference

RTAS error log detail for CPU-detected failures. More...

#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_scnrtas_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.


Detailed Description

This provides the definition of RTAS CPU-detected error log format and a print routine to dump the contents of a cpu-detected error log.

Copyright (C) 2005 IBM Corporation Common Public License Version 1.0 (see COPYRIGHT)

Author:
Nathan Fontenot <nfont@austin.ibm.com>

Function Documentation

int parse_cpu_scn ( struct rtas_event re  ) 

int print_re_cpu_scn ( struct scn_header shdr,
int  verbosity 
)

struct rtas_cpu_scn* rtas_get_cpu_scn ( struct rtas_event re  )  [read]

rtas_get_cpu_scn

Parameters:
re rtas_event pointer
Returns:
rtas_event_scn pointer for cpu section

References get_re_scn(), and RTAS_CPU_SCN.


Generated on Sat Jun 7 04:46:31 2008 for librtasevent by  doxygen 1.5.5