Scroll to navigation

STRUCT USER_REGSET_V(9) Machine State STRUCT USER_REGSET_V(9)

NAME

struct_user_regset_view - available regsets

SYNOPSIS

struct user_regset_view {

const char * name;
const struct user_regset * regsets;
unsigned int n;
u32 e_flags;
u16 e_machine;
u8 ei_osabi; };

MEMBERS

name

Identifier, e.g. UTS_MACHINE string.

regsets

Array of n regsets available in this view.

n

Number of elements in regsets.

e_flags

ELF header e_flags value written in core dumps.

e_machine

ELF header e_machine EM_* value written in core dumps.

ei_osabi

ELF header e_ident[EI_OSABI] value written in core dumps.

DESCRIPTION

A regset view is a collection of regsets (struct user_regset, above). This describes all the state of a thread that can be seen from a given architecture/ABI environment. More than one view might refer to the same struct user_regset, or more than one regset might refer to the same machine-specific state in the thread. For example, a 32-bit thread´s state could be examined from the 32-bit view or from the 64-bit view. Either method reaches the same thread register state, doing appropriate widening or truncation.

April 2023 Kernel Hackers Manual 2.6.