librtasevent_src/rtas_lri.c File Reference

RTAS Logical Resource Identification (LRI) Data routines. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include "librtasevent.h"
#include "rtas_event.h"

Functions

int parse_lri_scn (struct rtas_event *re)
struct rtas_lri_scnrtas_get_lri_scn (struct rtas_event *re)
 Retrieve the Logical Resource ID (LRI) section of the RTAS Event.
int print_re_lri_scn (struct scn_header *shdr, int verbosity)
 print the contents of a LRI section


Detailed Description

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

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

Function Documentation

int parse_lri_scn ( struct rtas_event re  ) 

int print_re_lri_scn ( struct scn_header shdr,
int  verbosity 
)

print_re_lriscn

Parameters:
res rtas_event_scn pointer for lri section
verbosity verbose level of output
Returns:
number of bytes written

References rtas_lri_scn::capacity, rtas_lri_scn::lri_mem_addr_hi, print_v6_hdr(), PRNT_FMT, PRNT_FMT_ADDR, PRNT_FMT_R, rtas_lri_scn::resource, RTAS_LRI_SCN, rtas_print(), scn_header::scn_id, and rtas_lri_scn::v6hdr.

struct rtas_lri_scn* rtas_get_lri_scn ( struct rtas_event re  )  [read]

rtas_get_lri_scn

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

References get_re_scn(), and RTAS_LRI_SCN.


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