Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/linux/linux.h
Show First 20 Lines • Show All 440 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
struct linux_robust_list_head { | struct linux_robust_list_head { | ||||
struct linux_robust_list list; | struct linux_robust_list list; | ||||
l_long futex_offset; | l_long futex_offset; | ||||
l_uintptr_t pending_list; | l_uintptr_t pending_list; | ||||
}; | }; | ||||
/* This corresponds to 'struct user_regs_struct' in Linux. */ | |||||
struct linux_pt_regset { | |||||
l_ulong r15; | |||||
l_ulong r14; | |||||
l_ulong r13; | |||||
l_ulong r12; | |||||
l_ulong rbp; | |||||
l_ulong rbx; | |||||
l_ulong r11; | |||||
l_ulong r10; | |||||
l_ulong r9; | |||||
l_ulong r8; | |||||
l_ulong rax; | |||||
l_ulong rcx; | |||||
l_ulong rdx; | |||||
l_ulong rsi; | |||||
l_ulong rdi; | |||||
l_ulong orig_rax; | |||||
l_ulong rip; | |||||
l_ulong cs; | |||||
l_ulong eflags; | |||||
l_ulong rsp; | |||||
l_ulong ss; | |||||
l_ulong fs_base; | |||||
l_ulong gs_base; | |||||
l_ulong ds; | |||||
l_ulong es; | |||||
l_ulong fs; | |||||
l_ulong gs; | |||||
}; | |||||
struct reg; | |||||
void bsd_to_linux_regset(struct reg *b_reg, | |||||
struct linux_pt_regset *l_regset); | |||||
#endif /* !_AMD64_LINUX_H_ */ | #endif /* !_AMD64_LINUX_H_ */ |