Xen Test Framework
Functions
decode.c File Reference

Helper routines for decoding x86 architectural state. More...

#include <xtf/lib.h>
#include <xtf/libc.h>
#include <arch/decode.h>
#include <arch/processor.h>
+ Include dependency graph for decode.c:

Go to the source code of this file.

Functions

const char * x86_vendor_name (enum x86_vendor v)
 String of the indentified vendor v. More...
 
const char * x86_exc_short_name (unsigned int exc)
 String abbreviation of ev. More...
 
static int x86_exc_decode_ec (char *buf, size_t bufsz, unsigned int ev, unsigned int ec)
 
static int x86_decode_exinfo (char *buf, size_t bufsz, exinfo_t info)
 
bool arch_fmt_pointer (char **str_ptr, char *end, const char **fmt_ptr, const void *arg, int width, int precision, unsigned int flags)
 

Detailed Description

Helper routines for decoding x86 architectural state.

Definition in file decode.c.

Function Documentation

◆ x86_vendor_name()

const char * x86_vendor_name ( enum x86_vendor  v)

String of the indentified vendor v.

Parameters
vVendor.
Returns
String.

Definition at line 12 of file decode.c.

◆ x86_exc_short_name()

const char * x86_exc_short_name ( unsigned int  ev)

String abbreviation of ev.

Parameters
evEntry Vector.
Returns
String abbreviation.

Definition at line 23 of file decode.c.

+ Here is the caller graph for this function:

◆ x86_exc_decode_ec()

static int x86_exc_decode_ec ( char *  buf,
size_t  bufsz,
unsigned int  ev,
unsigned int  ec 
)
static

Definition at line 40 of file decode.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ x86_decode_exinfo()

static int x86_decode_exinfo ( char *  buf,
size_t  bufsz,
exinfo_t  info 
)
static

Definition at line 72 of file decode.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ arch_fmt_pointer()

bool arch_fmt_pointer ( char **  str_ptr,
char *  end,
const char **  fmt_ptr,
const void *  arg,
int  width,
int  precision,
unsigned int  flags 
)

Definition at line 91 of file decode.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: