Wait for LWK to run at shutdown.

refs #898
refs #928
This commit is contained in:
Ken Sato
2018-02-06 10:40:12 +09:00
parent 8ee9eca74e
commit 228f8f8533
26 changed files with 1848 additions and 2 deletions

View File

@ -145,6 +145,8 @@ nmi:
movq %rsp,%gs:PANIC_REGS+0x08
movl nmi_mode(%rip),%eax
cmp $3,%rax
je 4f
cmp $1,%rax
je 1f
cmp $2,%rax
@ -199,9 +201,9 @@ nmi:
movl %eax,%gs:PANIC_REGS+0xA0
movq $1,%gs:PANICED
call ihk_mc_query_mem_areas
1:
4:
hlt
jmp 1b
jmp 4b
.globl x86_syscall
x86_syscall: