headers/vmlinux: Add arch specific vmlinux.h defines

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
This commit is contained in:
Jesper Dangaard Brouer
2021-06-01 16:12:43 +02:00
parent f34f8d5787
commit 064bc31354
4 changed files with 52 additions and 8 deletions

View File

@@ -0,0 +1,29 @@
#ifndef __VMLINUX_ARCH_X86_H__
#define __VMLINUX_ARCH_X86_H__
struct pt_regs {
long unsigned int r15;
long unsigned int r14;
long unsigned int r13;
long unsigned int r12;
long unsigned int bp;
long unsigned int bx;
long unsigned int r11;
long unsigned int r10;
long unsigned int r9;
long unsigned int r8;
long unsigned int ax;
long unsigned int cx;
long unsigned int dx;
long unsigned int si;
long unsigned int di;
long unsigned int orig_ax;
long unsigned int ip;
long unsigned int cs;
long unsigned int flags;
long unsigned int sp;
long unsigned int ss;
};
#endif /* __VMLINUX_ARCH_X86_H__ */