push/pop r12,r13 and r14 as well when entering/leaving kernel space

This commit is contained in:
bgerofi@riken.jp
2014-07-15 17:31:16 +09:00
committed by Balazs Gerofi bgerofi@riken.jp
parent 99931179e1
commit 35b8716966
2 changed files with 11 additions and 5 deletions

View File

@ -136,7 +136,7 @@ struct tss64 {
} __attribute__((packed));
struct x86_regs {
unsigned long r15, r11, r10, r9, r8;
unsigned long r15, r14, r13, r12, r11, r10, r9, r8;
unsigned long rdi, rsi, rdx, rcx, rbx, rax, rbp;
unsigned long error, rip, cs, rflags, rsp, ss;
};