dump: rewrite NMI handling (for resume) and fix PANIC register saving

Change-Id: I360e9aa8efa64b6ebd99b209a5dd4ee0dc7806cf
This commit is contained in:
Balazs Gerofi
2020-02-04 23:35:30 +00:00
parent 6bef773741
commit 55faba77a5
8 changed files with 202 additions and 138 deletions

View File

@ -11,9 +11,8 @@ extern unsigned long linux_page_offset;
#define ARCH_REGS 21
#define PANIC_REGS_OFFSET 240
#define MAP_KERNEL_TEXT "0xffffffff80001000"
/* See struct x86_cpu_local_variables */
#define PANIC_REGS_OFFSET 288
struct arch_kregs {
uintptr_t rsp, rbp, rbx, rsi;