#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_scn * | rtas_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 | |
| int parse_lri_scn | ( | struct rtas_event * | re | ) |
parse_lri_scn
References add_re_scn(), rtas_event::offset, scn_header::raw_offset, RE_LRI_SCN_SZ, RE_SHDR_OFFSET, rtas_copy(), RTAS_LRI_SCN, and rtas_lri_scn::shdr.
Referenced by parse_v6_rtas_event().
| int print_re_lri_scn | ( | struct scn_header * | shdr, | |
| int | verbosity | |||
| ) |
print_re_lriscn
| res | rtas_event_scn pointer for lri section | |
| verbosity | verbose level of output |
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
| re | rtas_event pointer |
References get_re_scn(), and RTAS_LRI_SCN.
1.5.5