mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
headers/vmlinux: Add arch specific vmlinux.h defines
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
This commit is contained in:
29
headers/vmlinux/arch/x86/vmlinux.h
Normal file
29
headers/vmlinux/arch/x86/vmlinux.h
Normal 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__ */
|
Reference in New Issue
Block a user