STRUCT USER_REGS_STRUCT(9)
π NAME π
okay so bestie, welcome to the Kernel API Manual page for struct user_regs_struct β aka struct user_regs_struct(9) β and it's giving user general purpose registers. that's the whole vibe. β¨
π¦ SYNOPSIS π¦
struct user_regs_struct {
unsigned long gr[32];
unsigned long sr[8];
unsigned long iaoq[2];
unsigned long iasq[2];
unsigned long sar;
unsigned long iir;
unsigned long isr;
unsigned long ior;
unsigned long ipsw;
unsigned long cr0;
unsigned long cr24, cr25, cr26, cr27, cr28, cr29, cr30, cr31;
unsigned long cr8, cr9, cr12, cr13, cr10, cr15;
unsigned long _pad[80-64];
};
π Members π
π¬ Description π¬
This is the user-visible general purpose register state structure which is used to define the elf_gregset_t. like, that's literally its whole job. π
It can be accessed through PTRACE_GETREGSET with NT_PRSTATUS and through PTRACE_GETREGS. iykyk. β¨
π SEE ALSO π
- Kernel file
./arch/parisc/include/uapi/asm/ptrace.hstructuser_fp_struct(9)β bestie, go peek at the source. π«Ά
mwah π β source/version: ./arch/parisc/include/uapi/asm, date: October 2026. that's the footer tea, bestie. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms