1STRUCT USER_REGSET_V(9) Machine State STRUCT USER_REGSET_V(9)
2
3
4
6 struct_user_regset_view - available regsets
7
9 struct user_regset_view {
10 const char * name;
11 const struct user_regset * regsets;
12 unsigned int n;
13 u32 e_flags;
14 u16 e_machine;
15 u8 ei_osabi;
16 };
17
19 name
20 Identifier, e.g. UTS_MACHINE string.
21
22 regsets
23 Array of n regsets available in this view.
24
25 n
26 Number of elements in regsets.
27
28 e_flags
29 ELF header e_flags value written in core dumps.
30
31 e_machine
32 ELF header e_machine EM_* value written in core dumps.
33
34 ei_osabi
35 ELF header e_ident[EI_OSABI] value written in core dumps.
36
38 A regset view is a collection of regsets (struct user_regset, above).
39 This describes all the state of a thread that can be seen from a given
40 architecture/ABI environment. More than one view might refer to the
41 same struct user_regset, or more than one regset might refer to the
42 same machine-specific state in the thread. For example, a 32-bit
43 thread's state could be examined from the 32-bit view or from the
44 64-bit view. Either method reaches the same thread register state,
45 doing appropriate widening or truncation.
46
47
48
49Kernel Hackers Manual 2.6. November 2011 STRUCT USER_REGSET_V(9)